From: Ben Dooks Date: Fri, 17 Jun 2016 15:03:13 +0000 (+0100) Subject: gpiolib: make lineevent_irq_thread static X-Git-Tag: v4.14-rc1~2827^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=33265b17e06e2d84900efebfa8620d2f5bfcc5de;p=platform%2Fkernel%2Flinux-rpi.git gpiolib: make lineevent_irq_thread static The lineevent_irq_thread is not exported, so make it static to fix the following warning: drivers/gpio/gpiolib.c:654:13: warning: symbol 'lineevent_irq_thread' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index b504364..5a21a6a 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -653,7 +653,7 @@ static const struct file_operations lineevent_fileops = { #endif }; -irqreturn_t lineevent_irq_thread(int irq, void *p) +static irqreturn_t lineevent_irq_thread(int irq, void *p) { struct lineevent_state *le = p; struct gpioevent_data ge;