diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2015-04-23 14:42:02 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-04-23 20:35:33 +0300 |
commit | fcdd5f09c03bfc95f196dfa781ff447c5cbcc319 (patch) | |
tree | 41e194f7a86ac231790432a75e0420a1a251aa07 /drivers/i2c/busses/i2c-st.c | |
parent | 133778482ec6c8fde69406be380333963627c17a (diff) | |
download | linux-fcdd5f09c03bfc95f196dfa781ff447c5cbcc319.tar.xz |
i2c: st: add include for pinctrl
The driver uses pinctrl directly and thus should include the appropriate
header. Sort the headers while we are here to have a better view what is
included and what is not.
Reported-by: Pascal Huerst <pascal.huerst@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-st.c')
-rw-r--r-- | drivers/i2c/busses/i2c-st.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c index 88057fad9dfe..ea72dca32fdf 100644 --- a/drivers/i2c/busses/i2c-st.c +++ b/drivers/i2c/busses/i2c-st.c @@ -10,17 +10,18 @@ * published by the Free Software Foundation. */ -#include <linux/module.h> -#include <linux/platform_device.h> -#include <linux/i2c.h> #include <linux/clk.h> -#include <linux/io.h> #include <linux/delay.h> -#include <linux/interrupt.h> #include <linux/err.h> -#include <linux/of.h> +#include <linux/i2c.h> +#include <linux/interrupt.h> +#include <linux/io.h> +#include <linux/module.h> #include <linux/of_address.h> #include <linux/of_irq.h> +#include <linux/of.h> +#include <linux/pinctrl/consumer.h> +#include <linux/platform_device.h> /* SSC registers */ #define SSC_BRG 0x000 |