staging/ft1000: fix sparse warning about the kernel thread handler function

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>
This commit is contained in:
Devendra Naga 2012-07-07 17:35:15 +05:30 committed by Greg Kroah-Hartman
parent 3a0ccb0db9
commit 3bc2311e32
1 changed files with 1 additions and 1 deletions

View File

@ -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;