gpiolib: make lineevent_irq_thread static
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 17 Jun 2016 15:03:13 +0000 (16:03 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 18 Jun 2016 09:04:56 +0000 (11:04 +0200)
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 <ben.dooks@codethink.co.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c

index b504364..5a21a6a 100644 (file)
@@ -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;