Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 011b2039 authored by Stephen Boyd's avatar Stephen Boyd Committed by Linus Walleij
Browse files

gpio_msm: Fix build error due to missing err.h



drivers/gpio/gpio-msm-v1.c: In function 'gpio_msm_v1_probe':
drivers/gpio/gpio-msm-v1.c:656:2:
error: implicit declaration of function 'IS_ERR'
[-Werror=implicit-function-declaration]
drivers/gpio/gpio-msm-v1.c:657:3:
error: implicit declaration of function 'PTR_ERR'
[-Werror=implicit-function-declaration]

This driver failed to compile after commit 68515bbe
(gpio_msm: Convert to use devm_ioremap_resource,
2013-06-10).

Acked-by: default avatarTushar Behera <tushar.behera@linaro.org>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 253403b0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@
#include <linux/module.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/err.h>

#include <mach/msm_gpiomux.h>