diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2016-06-17 16:03:13 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-06-18 11:04:56 +0200 |
commit | 33265b17e06e2d84900efebfa8620d2f5bfcc5de (patch) | |
tree | 89bdf8a9f496f6bb3ef9e86376d6bcae5942bedb /drivers/gpio/gpiolib.c | |
parent | e2f608be640a126da50be605e1a81b988c9ac0d6 (diff) | |
download | linux-stable-33265b17e06e2d84900efebfa8620d2f5bfcc5de.tar.gz linux-stable-33265b17e06e2d84900efebfa8620d2f5bfcc5de.tar.bz2 linux-stable-33265b17e06e2d84900efebfa8620d2f5bfcc5de.zip |
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>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
-rw-r--r-- | drivers/gpio/gpiolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index b504364fd644..5a21a6acf8af 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; |