diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-12-15 22:25:11 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-12-15 22:25:11 +0000 |
commit | 812763d48e6daa3895406d100008307d7154985e (patch) | |
tree | 0a86f9e71b7857a4de958debdbc510078a96f0f7 /target/linux/ar71xx/files/arch/mips/include | |
parent | 867f0fa967d8cbb1c12a0a17fcc217e4bf1ac389 (diff) |
ar71xx: introduce ar71xx_switch_data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29549 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/include')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/platform.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/platform.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/platform.h index c60641b512..88dd051823 100644 --- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/platform.h +++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/platform.h @@ -17,6 +17,10 @@ #include <linux/phy.h> #include <linux/spi/spi.h> +struct ag71xx_switch_platform_data { + int dummy; +}; + struct ag71xx_platform_data { phy_interface_t phy_if_mode; u32 phy_mask; @@ -31,7 +35,8 @@ struct ag71xx_platform_data { u8 is_ar7240:1; u8 is_ar724x:1; u8 has_ar8216:1; - u8 has_ar7240_switch:1; + + struct ag71xx_switch_platform_data *switch_data; void (*ddr_flush)(void); void (*set_speed)(int speed); |