diff options
author | 2020-02-11 11:56:06 +0100 | |
---|---|---|
committer | 2020-02-21 10:02:15 +0000 | |
commit | 15e8573d3b3f7f60b8b4e2c58e5bfc0413c9a89d (patch) | |
tree | 83c7ccfef44b6b47aef6b7793a0754afc04c920e /drivers/counter | |
parent | counter: stm32-timer-cnt: add power management support (diff) | |
download | wireguard-linux-15e8573d3b3f7f60b8b4e2c58e5bfc0413c9a89d.tar.xz wireguard-linux-15e8573d3b3f7f60b8b4e2c58e5bfc0413c9a89d.zip |
counter: stm32-timer-cnt: remove iio headers
The stm32-timer-cnt driver doesn't use the iio interface. The iio headers
aren't relevant and can be removed as reported by William in [1].
With this change, mod_devicetable.h needs to be added to define the
'of_device_id' struct.
[1] https://lkml.org/lkml/2020/2/10/1516
Reported-by: William Breathitt Gray <[email protected]>
Signed-off-by: Fabrice Gasnier <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/counter')
-rw-r--r-- | drivers/counter/stm32-timer-cnt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/counter/stm32-timer-cnt.c b/drivers/counter/stm32-timer-cnt.c index 50496f453d6d..ef2a974a2f10 100644 --- a/drivers/counter/stm32-timer-cnt.c +++ b/drivers/counter/stm32-timer-cnt.c @@ -8,9 +8,8 @@ * */ #include <linux/counter.h> -#include <linux/iio/iio.h> -#include <linux/iio/types.h> #include <linux/mfd/stm32-timers.h> +#include <linux/mod_devicetable.h> #include <linux/module.h> #include <linux/pinctrl/consumer.h> #include <linux/platform_device.h> |