pinctrl: imx1: Include the <linux/seq_file.h> header
Subsystems (4)
PATCH 1/1 pinctrl: imx1: Include the <linux/seq_file.h> header
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.
--- drivers/pinctrl/freescale/pinctrl-imx1-core.c | 1 + 1 file changed, 1 insertion(+)
drivers/pinctrl/freescale/pinctrl-imx1-core.c +1 -0
@@ -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"
Signature · 1 line
2.25.1
Quoted 9 lines · Fabio Estevam
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.
Thank you, I will incorporate it into the respective series.
Signature · 2 lines
With Best Regards, Andy Shevchenko