mirror of https://gitee.com/openkylin/linux.git
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:
parent
3a0ccb0db9
commit
3bc2311e32
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue