i2c: imx: fix a compiling error
authorHou Zhiqiang <Zhiqiang.Hou@freescale.com>
Tue, 17 Nov 2015 09:53:18 +0000 (17:53 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 20 Nov 2015 14:58:22 +0000 (15:58 +0100)
commit8bb6fd585d419d906fb3c228db47fbc4e4272a00
treeb5d6ec69e627e10fbd712fec619c17a284d827fb
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
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 <Zhiqiang.Hou@freescale.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx.c