Return-path: Received: from eusmtp01.atmel.com ([212.144.249.242]:51761 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750879AbbJWF0a (ORCPT ); Fri, 23 Oct 2015 01:26:30 -0400 From: Glen Lee To: CC: , , , , , , , , Subject: [PATCH 06/28] staging: wilc1000: wilc_wlan_handle_isr_ext: add argument struct wilc Date: Fri, 23 Oct 2015 14:28:22 +0900 Message-ID: <1445578124-31486-6-git-send-email-glen.lee@atmel.com> (sfid-20151023_072633_169112_F5C069CB) In-Reply-To: <1445578124-31486-1-git-send-email-glen.lee@atmel.com> References: <1445578124-31486-1-git-send-email-glen.lee@atmel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: This patch adds argument struct wilc and pass wilc to the function. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index be6f631..5141fe0 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; -- 1.9.1