Changeset 26606
- Timestamp:
- 2011-04-12T15:14:56+02:00 (7 years ago)
- Location:
- trunk/target/linux/ar71xx/files/arch/mips
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-pci.h
r24568 r26606 18 18 #else 19 19 static inline void ap91_pci_init(u8 *cal_data, u8 *mac_addr) { } 20 static inline void ap91_pci_setup_wmac_led (int pin) { }20 static inline void ap91_pci_setup_wmac_led_pin(int pin) { } 21 21 static inline void ap91_pci_setup_wmac_gpio(u32 mask, u32 gpio) { } 22 22 #endif -
trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-eap7660d.c
r26603 r26606 47 47 static u16 eap7660d_wmac1_eeprom[ATH5K_PLAT_EEP_MAX_WORDS]; 48 48 49 #ifdef CONFIG_PCI 49 50 static struct ar71xx_pci_irq eap7660d_pci_irqs[] __initdata = { 50 51 { … … 104 105 ar71xx_pci_init(ARRAY_SIZE(eap7660d_pci_irqs), eap7660d_pci_irqs); 105 106 } 107 #else 108 static inline void eap7660d_pci_init(u8 *cal_data0, u8 *mac_addr0, 109 u8 *cal_data1, u8 *mac_addr1) 110 { 111 } 112 #endif /* CONFIG_PCI */ 106 113 107 114 static struct gpio_led eap7660d_leds_gpio[] __initdata = { -
trunk/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/pci.h
r16674 r26606 21 21 }; 22 22 23 #ifdef CONFIG_PCI 23 24 extern int (*ar71xx_pci_plat_dev_init)(struct pci_dev *dev); 24 25 extern unsigned ar71xx_pci_nr_irqs __initdata; … … 36 37 37 38 int ar71xx_pci_init(unsigned nr_irqs, struct ar71xx_pci_irq *map) __init; 39 #else 40 static inline int ar71xx_pci_init(unsigned nr_irqs, struct ar71xx_pci_irq *map) 41 { 42 return 0; 43 } 44 #endif 38 45 39 46 #endif /* __ASM_MACH_AR71XX_PCI_H */
Note: See TracChangeset
for help on using the changeset viewer.