From: Glen Lee Date: Tue, 27 Oct 2015 09:27:41 +0000 (+0900) Subject: staging: wilc1000: wilc_wlan_handle_isr_ext: add argument struct wilc X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3bcd45b653e2d9c9bd04f245a14d26af895cd63a;p=linux-beck.git 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: Glen Lee Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index be6f631f880e..5141fe09e976 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -1260,7 +1260,7 @@ static void wilc_sleeptimer_isr_ext(u32 int_stats1) #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; #ifdef MEMORY_STATIC @@ -1364,7 +1364,7 @@ void wilc_handle_isr(void *wilc) wilc_pllupdate_isr_ext(int_status); 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 /* Chip is up and talking*/ genuChipPSstate = CHIP_WAKEDUP;