Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <andy.shevchenko@gmail.com>
Link: https://patch.msgid.link/20240823220718.743596-1-andy.shevchenko@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Andy Shevchenko and committed by
Jonathan Cameron
dae65fc2 89cf93bf

+1 -1
+1 -1
drivers/iio/proximity/cros_ec_mkbp_proximity.c
··· 6 6 */ 7 7 8 8 #include <linux/kernel.h> 9 + #include <linux/mod_devicetable.h> 9 10 #include <linux/module.h> 10 11 #include <linux/mutex.h> 11 12 #include <linux/notifier.h> 12 - #include <linux/of.h> 13 13 #include <linux/platform_device.h> 14 14 #include <linux/slab.h> 15 15 #include <linux/types.h>