Message ID | 20221019132306.65244-1-festevam@denx.de |
---|---|
State | New |
Headers | show |
Series | pinctrl: imx1: Include the <linux/seq_file.h> header | expand |
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"
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@linaro.org> Signed-off-by: Fabio Estevam <festevam@denx.de> --- drivers/pinctrl/freescale/pinctrl-imx1-core.c | 1 + 1 file changed, 1 insertion(+)