summaryrefslogtreecommitdiffstats
path: root/drivers/iio/proximity/cros_ec_mkbp_proximity.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2024-08-24 01:07:18 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-09-03 18:49:43 +0100
commitdae65fc2bc76851520bd4ae748fe09656cc65057 (patch)
treee41255b8ad462bc302226de153ed4a527d58b638 /drivers/iio/proximity/cros_ec_mkbp_proximity.c
parent89cf93bfb3bedbaa1b7678c66cabd7ba0df6f05c (diff)
downloadlinux-dae65fc2bc76851520bd4ae748fe09656cc65057.tar.gz
linux-dae65fc2bc76851520bd4ae748fe09656cc65057.tar.bz2
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/proximity/cros_ec_mkbp_proximity.c')
-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>