diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-17 12:59:42 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-17 12:59:42 -0700 |
commit | 507d7fc56154031a1d023d74e02ed9d3c4f4da31 (patch) | |
tree | 9b0ab99c0361ae0033674d9b50b2e25f708b56e6 /drivers/staging | |
parent | db93ec4f30f1826cc64560ffdf9cc6f2f4eff49f (diff) | |
download | linux-507d7fc56154031a1d023d74e02ed9d3c4f4da31.tar.bz2 |
staging: wilc1000: fix build warning with setup_timer()
I forgot to properly cast a pointer to unsigned long in a conversion to
setup_timer() which resulted in a build warning. Fix that up.
Cc: Johnny Kim <johnny.kim@atmel.com>
Cc: Rachel Kim <rachel.kim@atmel.com>
Cc: Dean Lee <dean.lee@atmel.com>
Cc: Chris Park <chris.park@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 078b7d5a128c..66fa677015db 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -6545,7 +6545,8 @@ s32 host_int_init(tstrWILC_WFIDrv **phWFIDrv) s32Error = WILC_FAIL; goto _fail_mq_; } - setup_timer(&g_hPeriodicRSSI, GetPeriodicRSSI, pstrWFIDrv); + setup_timer(&g_hPeriodicRSSI, GetPeriodicRSSI, + (unsigned long)pstrWFIDrv); mod_timer(&g_hPeriodicRSSI, jiffies + msecs_to_jiffies(5000)); } |