Skip to content

Commit

Permalink
staging/ft1000: fix sparse warning about the kernel thread handler fu…
Browse files Browse the repository at this point in the history
…nction

sparse throws warning about the ft1000_poll_thread as

drivers/staging/ft1000/ft1000-usb/ft1000_usb.c:40:5: warning: symbol 'ft1000_poll_thread' was not declared. Should it be static?

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Jul 9, 2012
1 parent 3a0ccb0 commit 3bc2311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static struct usb_device_id id_table[] = {
MODULE_DEVICE_TABLE(usb, id_table);

static bool gPollingfailed = FALSE;
int ft1000_poll_thread(void *arg)
static int ft1000_poll_thread(void *arg)
{
int ret = STATUS_SUCCESS;

Expand Down

0 comments on commit 3bc2311

Please sign in to comment.