Re: [PATCH] gpio: include linux/bug.h in interface header

2014-05-13 Thread Linus Walleij
On Thu, May 8, 2014 at 3:42 PM, Arnd Bergmann 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/lin

Re: [PATCH] gpio: include linux/bug.h in interface header

2014-05-08 Thread Alexandre Courbot
On 05/08/2014 10:42 PM, Arnd Bergmann 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:

[PATCH] gpio: include linux/bug.h in interface header

2014-05-08 Thread Arnd Bergmann
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