mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 16:35:44 +00:00
ar71xx: fix compiler warning if PCI is not enabled
SVN-Revision: 29869
This commit is contained in:
parent
af015f956c
commit
778db0a13d
@ -39,6 +39,7 @@
|
|||||||
#define EAP7660D_WMAC0_CALDATA_OFFSET 0x2000
|
#define EAP7660D_WMAC0_CALDATA_OFFSET 0x2000
|
||||||
#define EAP7660D_WMAC1_CALDATA_OFFSET 0x3000
|
#define EAP7660D_WMAC1_CALDATA_OFFSET 0x3000
|
||||||
|
|
||||||
|
#ifdef CONFIG_PCI
|
||||||
static struct ath5k_platform_data eap7660d_wmac0_data;
|
static struct ath5k_platform_data eap7660d_wmac0_data;
|
||||||
static struct ath5k_platform_data eap7660d_wmac1_data;
|
static struct ath5k_platform_data eap7660d_wmac1_data;
|
||||||
static char eap7660d_wmac0_mac[6];
|
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_wmac0_eeprom[ATH5K_PLAT_EEP_MAX_WORDS];
|
||||||
static u16 eap7660d_wmac1_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 = {
|
static struct ar71xx_pci_irq eap7660d_pci_irqs[] __initdata = {
|
||||||
{
|
{
|
||||||
.slot = 0,
|
.slot = 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user