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-02-23 10:43:23 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-23 10:43:23 +0000
commit8fea4a8332fcda3330a59c3af60517399b53e9dc (patch)
tree328bfcf913ef4c8f70c5ec8236092b06861b0793 /target/linux/ar71xx/files/arch/mips/ar71xx/devices.h
parent8e7007124a46fc6dedba3c9fd5e05481ad8e7060 (diff)
[ar71xx] TL-WR941ND: add DSA device for the Marvell 88E6060 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14637 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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h
index eceb780cc..2a0472ff6 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h
@@ -13,8 +13,11 @@
#define __AR71XX_DEVICES_H
#include <asm/mach-ar71xx/platform.h>
+
#include <linux/leds.h>
#include <linux/gpio_buttons.h>
+#include <linux/gpio_buttons.h>
+#include <net/dsa.h>
void ar71xx_add_device_spi(struct ar71xx_spi_platform_data *pdata,
struct spi_board_info const *info,
@@ -48,4 +51,7 @@ void ar71xx_add_device_wdt(void) __init;
void ar91xx_add_device_wmac(void) __init;
+void ar71xx_add_device_dsa(unsigned int id,
+ struct dsa_platform_data *d) __init;
+
#endif /* __AR71XX_DEVICES_H */