diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-12-15 22:25:11 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-12-15 22:25:11 +0000 |
commit | 691b20bcaf059337604de0b089b602da1a4dde88 (patch) | |
tree | 0a86f9e71b7857a4de958debdbc510078a96f0f7 /target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx | |
parent | 1c234742d6b8c92e81d04d87dbd00097119e1c86 (diff) | |
download | master-187ad058-691b20bcaf059337604de0b089b602da1a4dde88.tar.gz master-187ad058-691b20bcaf059337604de0b089b602da1a4dde88.tar.bz2 master-187ad058-691b20bcaf059337604de0b089b602da1a4dde88.zip |
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/asm/mach-ar71xx')
-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); |