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:
parent
e2f608be64
commit
33265b17e0
@ -653,7 +653,7 @@ static const struct file_operations lineevent_fileops = {
|
|||||||
#endif
|
#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 lineevent_state *le = p;
|
||||||
struct gpioevent_data ge;
|
struct gpioevent_data ge;
|
||||||
|
Loading…
Reference in New Issue
Block a user