Skip to content

Commit fcdd5f0

Browse files
author
Wolfram Sang
committed
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 <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent 1337784 commit fcdd5f0

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

drivers/i2c/busses/i2c-st.c

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,18 @@
1010
* published by the Free Software Foundation.
1111
*/
1212

13-
#include <linux/module.h>
14-
#include <linux/platform_device.h>
15-
#include <linux/i2c.h>
1613
#include <linux/clk.h>
17-
#include <linux/io.h>
1814
#include <linux/delay.h>
19-
#include <linux/interrupt.h>
2015
#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>
2220
#include <linux/of_address.h>
2321
#include <linux/of_irq.h>
22+
#include <linux/of.h>
23+
#include <linux/pinctrl/consumer.h>
24+
#include <linux/platform_device.h>
2425

2526
/* SSC registers */
2627
#define SSC_BRG 0x000

0 commit comments

Comments
 (0)