Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dio: Have dio_bus_match() callback take a const *
drivers/dio/dio-driver.c:128:11: error: initialization of ‘int (*)(struct device *, const struct device_driver *)’ from incompatible pointer type ‘int (*)(struct device *, struct device_driver *)’ [-Werror=incompatible-pointer-types] 128 | .match = dio_bus_match, | ^~~~~~~~~~~~~ drivers/dio/dio-driver.c:128:11: note: (near initialization for ‘dio_bus_type.match’) Reported-by: [email protected] Fixes: d69d804 ("driver core: have match() callback in struct bus_type take a const *") Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ added dio.h change - gregkh ] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information