Messages in this thread | | | Date | Tue, 13 May 2014 11:25:42 +0200 | Subject | Re: [PATCH] gpio: include linux/bug.h in interface header | From | Linus Walleij <> |
| |
On Thu, May 8, 2014 at 3:42 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> 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>
Patch applied!
Yours, Linus Walleij
| |