aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-23 08:52:18 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-23 08:52:18 +0000
commit778db0a13da39cc273dae200b61c6041ee1fd0a3 (patch)
tree99f42cba5128aa403302cd4a502e30af5629816b
parentaf015f956c35717909247a5732f6862d3de1476f (diff)
downloadupstream-778db0a13da39cc273dae200b61c6041ee1fd0a3.tar.gz
upstream-778db0a13da39cc273dae200b61c6041ee1fd0a3.tar.bz2
upstream-778db0a13da39cc273dae200b61c6041ee1fd0a3.zip
ar71xx: fix compiler warning if PCI is not enabled
SVN-Revision: 29869
-rw-r--r--target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/mach-eap7660d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/mach-eap7660d.c b/target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/mach-eap7660d.c
index d1e49eef05..6187cba422 100644
--- a/target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/mach-eap7660d.c
+++ b/target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/mach-eap7660d.c
@@ -39,6 +39,7 @@
#define EAP7660D_WMAC0_CALDATA_OFFSET 0x2000
#define EAP7660D_WMAC1_CALDATA_OFFSET 0x3000
+#ifdef CONFIG_PCI
static struct ath5k_platform_data eap7660d_wmac0_data;
static struct ath5k_platform_data eap7660d_wmac1_data;
static char eap7660d_wmac0_mac[6];
@@ -46,7 +47,6 @@ static char eap7660d_wmac1_mac[6];
static u16 eap7660d_wmac0_eeprom[ATH5K_PLAT_EEP_MAX_WORDS];
static u16 eap7660d_wmac1_eeprom[ATH5K_PLAT_EEP_MAX_WORDS];
-#ifdef CONFIG_PCI
static struct ar71xx_pci_irq eap7660d_pci_irqs[] __initdata = {
{
.slot = 0,