-#ifdef CONFIG_PCI
-static struct ar71xx_pci_irq tl_wr741nd_pci_irqs[] __initdata = {
- {
- .slot = 0,
- .pin = 1,
- .irq = AR71XX_PCI_IRQ_DEV0,
- }
-};
-
-static struct ath9k_platform_data tl_wr741nd_wmac_data;
-
-static int tl_wr741nd_pci_plat_dev_init(struct pci_dev *dev)
-{
- dev->dev.platform_data = &tl_wr741nd_wmac_data;
- return 0;
-}
-
-static void tl_wr741nd_pci_init(void)
-{
- u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000);
-
- memcpy(tl_wr741nd_wmac_data.eeprom_data, ee,
- sizeof(tl_wr741nd_wmac_data.eeprom_data));
-
- ar71xx_pci_plat_dev_init = tl_wr741nd_pci_plat_dev_init;
-
- ar71xx_pci_init(ARRAY_SIZE(tl_wr741nd_pci_irqs), tl_wr741nd_pci_irqs);
-}
-#else
-static inline void tl_wr741nd_pci_init(void) { };
-#endif /* CONFIG_PCI */
-