diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-12-05 20:01:31 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-12-12 20:12:39 +0300 |
commit | 5669c086e699ff269a977b225a8c9643cf39e53f (patch) | |
tree | 017ca1081f4614e83a11961d60070a32574d18b0 /drivers/iio/dac | |
parent | f191fe4f0d3e8ed033d888b4da9039f8ffe4039f (diff) | |
download | linux-5669c086e699ff269a977b225a8c9643cf39e53f.tar.xz |
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/dac')
-rw-r--r-- | drivers/iio/dac/dpot-dac.c | 2 |
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> |