diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-06-23 23:26:54 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-03 13:01:57 +0200 |
commit | ea4ba866d14fee63df370eca5002937b69babd99 (patch) | |
tree | 455ceb55bb5ac86da99d241bcd943370fa8417ec /drivers/platform/goldfish/goldfish_pipe.c | |
parent | c6446c210f2b658ce5a7abc5b9763447910d751d (diff) | |
download | blackbird-op-linux-ea4ba866d14fee63df370eca5002937b69babd99.tar.gz blackbird-op-linux-ea4ba866d14fee63df370eca5002937b69babd99.zip |
goldfish_pipe: make tasklet goldfish_interrupt_tasklet static
Tasklet goldfish_interrupt_tasklet is local to the source and
does not need to be in global scope, so make it static.
Cleans up sparse warning:
symbol 'goldfish_interrupt_tasklet' was not declared. Should it be static?
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform/goldfish/goldfish_pipe.c')
-rw-r--r-- | drivers/platform/goldfish/goldfish_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index 3e32a4c14d5f..4866a8b12e98 100644 --- a/drivers/platform/goldfish/goldfish_pipe.c +++ b/drivers/platform/goldfish/goldfish_pipe.c @@ -645,7 +645,7 @@ static void goldfish_interrupt_task(unsigned long unused) wake_up_interruptible(&pipe->wake_queue); } } -DECLARE_TASKLET(goldfish_interrupt_tasklet, goldfish_interrupt_task, 0); +static DECLARE_TASKLET(goldfish_interrupt_tasklet, goldfish_interrupt_task, 0); /* * The general idea of the interrupt handling: |