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

iio: light: al3010: Switch from linux/of.h to linux/mod_devicetable.h

The only of specific definition used is of_device_id table and that
is found in mod_devicetable.h not of.h

Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240218173323.1023703-4-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

+1 -1
+1 -1
drivers/iio/light/al3010.c
··· 17 17 #include <linux/bitfield.h> 18 18 #include <linux/i2c.h> 19 19 #include <linux/module.h> 20 - #include <linux/of.h> 20 + #include <linux/mod_devicetable.h> 21 21 22 22 #include <linux/iio/iio.h> 23 23 #include <linux/iio/sysfs.h>