summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2015-04-23 07:42:02 -0400
committerWolfram Sang <wsa@the-dreams.de>2015-04-23 13:35:33 -0400
commitfcdd5f09c03bfc95f196dfa781ff447c5cbcc319 (patch)
tree41e194f7a86ac231790432a75e0420a1a251aa07 /drivers/i2c
parent133778482ec6c8fde69406be380333963627c17a (diff)
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')
-rw-r--r--drivers/i2c/busses/i2c-st.c13
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 @@
10 * published by the Free Software Foundation. 10 * published by the Free Software Foundation.
11 */ 11 */
12 12
13#include <linux/module.h>
14#include <linux/platform_device.h>
15#include <linux/i2c.h>
16#include <linux/clk.h> 13#include <linux/clk.h>
17#include <linux/io.h>
18#include <linux/delay.h> 14#include <linux/delay.h>
19#include <linux/interrupt.h>
20#include <linux/err.h> 15#include <linux/err.h>
21#include <linux/of.h> 16#include <linux/i2c.h>
17#include <linux/interrupt.h>
18#include <linux/io.h>
19#include <linux/module.h>
22#include <linux/of_address.h> 20#include <linux/of_address.h>
23#include <linux/of_irq.h> 21#include <linux/of_irq.h>
22#include <linux/of.h>
23#include <linux/pinctrl/consumer.h>
24#include <linux/platform_device.h>
24 25
25/* SSC registers */ 26/* SSC registers */
26#define SSC_BRG 0x000 27#define SSC_BRG 0x000