iio: proximity: cros_ec_mkbp_proximity: Switch to including mod_devicetable.h for...
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Fri, 23 Aug 2024 22:07:18 +0000 (01:07 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 3 Sep 2024 17:49:43 +0000 (18:49 +0100)
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>
drivers/iio/proximity/cros_ec_mkbp_proximity.c

index 4df506bb8b38106f14205e75f86d3ad0642888c3..cff57d851762ea23d47a3105c50e1396f30874a6 100644 (file)
@@ -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>