Skip to content

Commit ea4ba86

Browse files
Colin Ian Kinggregkh
authored andcommitted
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>
1 parent c6446c2 commit ea4ba86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/platform/goldfish/goldfish_pipe.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ static void goldfish_interrupt_task(unsigned long unused)
645645
wake_up_interruptible(&pipe->wake_queue);
646646
}
647647
}
648-
DECLARE_TASKLET(goldfish_interrupt_tasklet, goldfish_interrupt_task, 0);
648+
static DECLARE_TASKLET(goldfish_interrupt_tasklet, goldfish_interrupt_task, 0);
649649

650650
/*
651651
* The general idea of the interrupt handling:

0 commit comments

Comments
 (0)