From: Hou Zhiqiang Date: Tue, 17 Nov 2015 09:53:18 +0000 (+0800) Subject: i2c: imx: fix a compiling error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8bb6fd585d419d906fb3c228db47fbc4e4272a00;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git i2c: imx: fix a compiling error drivers/i2c/busses/i2c-imx.c:978:2: error: implicit declaration of function ‘pinctrl_select_state’ [-Werror=implicit-function-declaration] pinctrl_select_state(i2c_imx->pinctrl, i2c_imx->pinctrl_pins_gpio); ^ Signed-off-by: Hou Zhiqiang Signed-off-by: Wolfram Sang --- diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index 1e4d99da4164..9bb0b056b25f 100644 --- a/drivers/i2c/busses/i2c-imx.c +++ b/drivers/i2c/busses/i2c-imx.c @@ -50,6 +50,7 @@ #include #include #include +#include #include #include #include