From be456a123482650da2db0a149c456cfc4961aa37 Mon Sep 17 00:00:00 2001 From: juhosg Date: Mon, 23 Jan 2012 08:52:18 +0000 Subject: ar71xx: fix compiler warning if PCI is not enabled git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29869 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/mach-eap7660d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target') 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 d1e49eef0..6187cba42 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, -- cgit v1.2.3