summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files-3.2
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-23 08:52:21 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-23 08:52:21 +0000
commit71feb1ed023d103a41f3aac0cf4ca1f7ddd99229 (patch)
tree13dfa45bce37eb5b52bb31123f9d683c0bf4985d /target/linux/ar71xx/files-3.2
parentbe456a123482650da2db0a149c456cfc4961aa37 (diff)
ar71xx: 3.2: fix build errors if PCI is not enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29870 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files-3.2')
-rw-r--r--target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-eap7660d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-eap7660d.c b/target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-eap7660d.c
index c2c85f2e3..cbd201994 100644
--- a/target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-eap7660d.c
+++ b/target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-eap7660d.c
@@ -41,6 +41,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];
@@ -48,7 +49,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 int eap7660d_pci_plat_dev_init(struct pci_dev *dev)
{
switch (PCI_SLOT(dev->devfn)) {