summaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2021-12-05 17:01:31 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-12-12 17:12:39 +0000
commit5669c086e699ff269a977b225a8c9643cf39e53f (patch)
tree017ca1081f4614e83a11961d60070a32574d18b0 /drivers/iio
parentf191fe4f0d3e8ed033d888b4da9039f8ffe4039f (diff)
iio:dac:dpot-dac: Swap of.h for mod_devicetable.h
This driver never used anything in the of specific header. It just wants the struct of_device_id from mod_devicetable.h. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Acked-by: Peter Rosin <peda@axentia.se>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/dac/dpot-dac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/dac/dpot-dac.c b/drivers/iio/dac/dpot-dac.c
index 5d1819448102..83ce9489259c 100644
--- a/drivers/iio/dac/dpot-dac.c
+++ b/drivers/iio/dac/dpot-dac.c
@@ -30,7 +30,7 @@
#include <linux/iio/consumer.h>
#include <linux/iio/iio.h>
#include <linux/module.h>
-#include <linux/of.h>
+#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>