iio: proximity: cros_ec_mkbp_proximity: Switch to including mod_devicetable.h for struct of_device_id definition
Subsystems (2)
PATCH 1/1 iio: proximity: cros_ec_mkbp_proximity: Switch to including mod_devicetable.h for struct of_device_id definition
of.h was only included for this definition, so include the correct header instead.
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/iio/proximity/cros_ec_mkbp_proximity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/proximity/cros_ec_mkbp_proximity.c +1 -1
@@ -6,10 +6,10 @@*/ #include <linux/kernel.h> +#include <linux/mod_devicetable.h> #include <linux/module.h> #include <linux/mutex.h> #include <linux/notifier.h> -#include <linux/of.h> #include <linux/platform_device.h> #include <linux/slab.h> #include <linux/types.h>
Signature · 1 line
2.46.0
Quoted 4 lines · On Sat, 24 Aug 2024 01:07:18 +0300 Andy Shevchenko <[email protected]>…
of.hwas only included for this definition, so include the correct header instead.Signed-off-by Andy Shevchenko <[email protected]>
Applied.
Quoted 20 lines
--- drivers/iio/proximity/cros_ec_mkbp_proximity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/iio/proximity/cros_ec_mkbp_proximity.c +1
-1@@ -6,10 +6,10 @@*/ #include <linux/kernel.h> +#include <linux/mod_devicetable.h> #include <linux/module.h> #include <linux/mutex.h> #include <linux/notifier.h> -#include <linux/of.h> #include <linux/platform_device.h> #include <linux/slab.h> #include <linux/types.h>