summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2024-08-24 00:07:18 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-09-03 19:49:43 +0200
commitdae65fc2bc76851520bd4ae748fe09656cc65057 (patch)
treee41255b8ad462bc302226de153ed4a527d58b638 /drivers/iio
parentiio: magnetometer: ak8975: Add AK09118 support (diff)
downloadlinux-dae65fc2bc76851520bd4ae748fe09656cc65057.tar.xz
linux-dae65fc2bc76851520bd4ae748fe09656cc65057.zip
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>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/proximity/cros_ec_mkbp_proximity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/proximity/cros_ec_mkbp_proximity.c b/drivers/iio/proximity/cros_ec_mkbp_proximity.c
index 4df506bb8b38..cff57d851762 100644
--- a/drivers/iio/proximity/cros_ec_mkbp_proximity.c
+++ b/drivers/iio/proximity/cros_ec_mkbp_proximity.c
@@ -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>