Return-path: Received: from eusmtp01.atmel.com ([212.144.249.243]:5013 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753313AbcBSKAl (ORCPT ); Fri, 19 Feb 2016 05:00:41 -0500 From: Leo Kim To: CC: , , , , , , , , , Chris Park Subject: [PATCH 2/4] staging: wilc1000: move MODALIS and GPIO_NUM define to wilc_wlan.h file Date: Fri, 19 Feb 2016 18:57:43 +0900 Message-ID: <1455875865-15505-2-git-send-email-leo.kim@atmel.com> (sfid-20160219_110045_159903_2C4B00B9) In-Reply-To: <1455875865-15505-1-git-send-email-leo.kim@atmel.com> References: <1455875865-15505-1-git-send-email-leo.kim@atmel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: From: Chris Park This patch moves MODALIS and GPIO_NUM define to wilc_wlan.h file. MODALIS and GPIO_NUM define are used to two files (wilc_sdio.c, wilc_spi.c), these files already include wilc_wlan.h file in common. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 2 -- drivers/staging/wilc1000/wilc_wlan.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan_common.h b/drivers/staging/wilc1000/linux_wlan_common.h index 5a53512..37848c0 100644 --- a/drivers/staging/wilc1000/linux_wlan_common.h +++ b/drivers/staging/wilc1000/linux_wlan_common.h @@ -31,7 +31,5 @@ #else /* base on SAMA5D3_Xplained Board */ - #define MODALIAS "WILC_SPI" - #define GPIO_NUM 0x44 #endif #endif diff --git a/drivers/staging/wilc1000/wilc_wlan.h b/drivers/staging/wilc1000/wilc_wlan.h index 792d338..bcd4bfa 100644 --- a/drivers/staging/wilc1000/wilc_wlan.h +++ b/drivers/staging/wilc1000/wilc_wlan.h @@ -131,6 +131,8 @@ #define LINUX_RX_SIZE (96 * 1024) #define LINUX_TX_SIZE (64 * 1024) +#define MODALIAS "WILC_SPI" +#define GPIO_NUM 0x44 /*******************************************/ /* E0 and later Interrupt flags. */ /*******************************************/ -- 1.9.1