From: Fabio Estevam Date: Mon, 22 Jul 2013 21:17:52 +0000 (-0300) Subject: gpio: gpio-mxc: Include "" X-Git-Tag: upstream/snapshot3+hdmi~4401^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18f92b19b4101dbe9fef3923028cf66b27847778;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git gpio: gpio-mxc: Include "" Commit 8cd73e4e (gpio: gpio-mxc: Use devm functions) causes the following build error on imx_v4_v7_defconfig: drivers/gpio/gpio-mxc.c:414:2: error: implicit declaration of function 'IS_ERR' [-Werror=implicit-function-declaration] drivers/gpio/gpio-mxc.c:415:3: error: implicit declaration of function 'PTR_ERR' [-Werror=implicit-function-declaration] Note: imx_v6_v7_defconfig does not give this build error, probably due to some indirect header file inclusion. Reported-by: Olof Johansson Signed-off-by: Fabio Estevam Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c index 91f2ac3..875a7c5 100644 --- a/drivers/gpio/gpio-mxc.c +++ b/drivers/gpio/gpio-mxc.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include #include #include #include