]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
i2c: st: add include for pinctrl
authorWolfram Sang <wsa@the-dreams.de>
Thu, 23 Apr 2015 11:42:02 +0000 (13:42 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 23 Apr 2015 17:35:33 +0000 (19:35 +0200)
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>
drivers/i2c/busses/i2c-st.c

index 88057fad9dfef494e2d6a4ee0f0ab337bbbb3dc9..ea72dca32fdfde83cfdd223525a915a5721d6816 100644 (file)
  * 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