summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-26 14:19:26 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-26 14:19:26 +0000
commit55ece30c25d9b58a4b13565752ea10f711fc9990 (patch)
tree8c5454391e2a4a0bf350afdec929c588055276e5 /target/linux/ar71xx/files/arch/mips/ar71xx/devices.h
parente2b1c817e6a9e2cfb26f27467ca85ac43b194862 (diff)
ar71xx: move dsa switch device support into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18943 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ar71xx/devices.h')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/devices.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h
index d4dfdcc0d..957675b0e 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h
@@ -14,7 +14,7 @@
#include <asm/mach-ar71xx/platform.h>
-#include <net/dsa.h>
+struct platform_device;
void ar71xx_add_device_spi(struct ar71xx_spi_platform_data *pdata,
struct spi_board_info const *info,
@@ -34,15 +34,15 @@ extern struct ar71xx_eth_pll_data ar71xx_eth1_pll_data;
extern struct ag71xx_platform_data ar71xx_eth0_data;
extern struct ag71xx_platform_data ar71xx_eth1_data;
+extern struct platform_device ar71xx_eth0_device;
+extern struct platform_device ar71xx_eth1_device;
void ar71xx_add_device_eth(unsigned int id) __init;
+extern struct platform_device ar71xx_mdio_device;
void ar71xx_add_device_mdio(u32 phy_mask) __init;
void ar71xx_add_device_uart(void) __init;
void ar71xx_add_device_wdt(void) __init;
-void ar71xx_add_device_dsa(unsigned int id,
- struct dsa_platform_data *d) __init;
-
#endif /* __AR71XX_DEVICES_H */