Commit 3bcd45b6 authored by Glen Lee's avatar Glen Lee Committed by Greg Kroah-Hartman

staging: wilc1000: wilc_wlan_handle_isr_ext: add argument struct wilc

This patch adds argument struct wilc and pass wilc to the function.
Signed-off-by: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 50b929e0
...@@ -1260,7 +1260,7 @@ static void wilc_sleeptimer_isr_ext(u32 int_stats1) ...@@ -1260,7 +1260,7 @@ static void wilc_sleeptimer_isr_ext(u32 int_stats1)
#endif #endif
} }
static void wilc_wlan_handle_isr_ext(u32 int_status) static void wilc_wlan_handle_isr_ext(struct wilc *wilc, u32 int_status)
{ {
wilc_wlan_dev_t *p = &g_wlan; wilc_wlan_dev_t *p = &g_wlan;
#ifdef MEMORY_STATIC #ifdef MEMORY_STATIC
...@@ -1364,7 +1364,7 @@ void wilc_handle_isr(void *wilc) ...@@ -1364,7 +1364,7 @@ void wilc_handle_isr(void *wilc)
wilc_pllupdate_isr_ext(int_status); wilc_pllupdate_isr_ext(int_status);
if (int_status & DATA_INT_EXT) { if (int_status & DATA_INT_EXT) {
wilc_wlan_handle_isr_ext(int_status); wilc_wlan_handle_isr_ext(wilc, int_status);
#ifndef WILC_OPTIMIZE_SLEEP_INT #ifndef WILC_OPTIMIZE_SLEEP_INT
/* Chip is up and talking*/ /* Chip is up and talking*/
genuChipPSstate = CHIP_WAKEDUP; genuChipPSstate = CHIP_WAKEDUP;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment