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 <ben.dooks@codethink.co.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Ben Dooks 2016-06-17 16:03:13 +01:00 committed by Linus Walleij
parent e2f608be64
commit 33265b17e0

View 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;