aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-05-08 15:42:25 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-05-16 17:52:36 +0200
commitcdf86cd233207ed992a647f0b9d42c60735756e7 (patch)
tree80f6acea44c17444703c8d8ffef3734bb9b530fb /drivers/gpio
parentgpio: omap: prepare and unprepare the debounce clock (diff)
downloadlinux-dev-cdf86cd233207ed992a647f0b9d42c60735756e7.tar.xz
linux-dev-cdf86cd233207ed992a647f0b9d42c60735756e7.zip
gpio: include linux/bug.h in interface header
Today's linux-next kernel started showing build errors for the use of WARN_ON in linux/gpio/consumer.h: In file included from drivers/video/backlight/pwm_bl.c:13:0: include/linux/gpio/consumer.h: In function 'gpiod_put': include/linux/gpio/consumer.h:81:2: error: implicit declaration of function 'WARN_ON' [-Werror=implicit-function-declaration] It's not clear why this never happened before, but this patch fixes it by including the header that contains the defintion of this macro. Signed-off-by: Arnd Bergmann <arnd@arnd.de> Acked-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions