summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-17 18:03:13 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-06-18 12:04:56 +0300
commit33265b17e06e2d84900efebfa8620d2f5bfcc5de (patch)
tree89bdf8a9f496f6bb3ef9e86376d6bcae5942bedb /drivers/gpio
parente2f608be640a126da50be605e1a81b988c9ac0d6 (diff)
downloadlinux-33265b17e06e2d84900efebfa8620d2f5bfcc5de.tar.xz
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')
-rw-r--r--drivers/gpio/gpiolib.c2
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;