[PATCH] pinctrl: imx1: Include the <linux/seq_file.h> header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After some recent header cleanup in the pinctrl subsystem, the following
build error is seen:

drivers/pinctrl/freescale/pinctrl-imx1-core.c: In function 'imx1_pin_dbg_show':
drivers/pinctrl/freescale/pinctrl-imx1-core.c:209:2: error: implicit
declaration of function 'seq_printf'; did you mean 'scnprintf'?
[-Werror=implicit-function-declaration]

Explicitly add the <linux/seq_file.h> header to fix it.

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
Signed-off-by: Fabio Estevam <festevam@xxxxxxx>
---
 drivers/pinctrl/freescale/pinctrl-imx1-core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/freescale/pinctrl-imx1-core.c b/drivers/pinctrl/freescale/pinctrl-imx1-core.c
index 70186448d2f4..1fac1a761d25 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx1-core.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx1-core.c
@@ -20,6 +20,7 @@
 #include <linux/pinctrl/pinconf.h>
 #include <linux/pinctrl/pinctrl.h>
 #include <linux/pinctrl/pinmux.h>
+#include <linux/seq_file.h>
 #include <linux/slab.h>
 
 #include "../core.h"
-- 
2.25.1




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux