diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-08-26 06:56:56 -0400 |
---|---|---|
committer | Lennert Buytenhek <buytenh@marvell.com> | 2008-09-05 00:33:58 -0400 |
commit | fc0eb9f226d8ecc8e3b563bf808bd6d61a6153a1 (patch) | |
tree | 29c9662ea3ba647bfbf3b0220c86dd168d575bff /include/linux | |
parent | f7981c1c67b53abb4a7d8a501e68585b9826179a (diff) |
mv643xx_eth: smi sharing is a per-unit property, not a per-port one
Which top-level unit's SMI interface to use should be a property of
the top-level unit, not of the individual ports. This patch moves the
->shared_smi pointer from the per-port platform data to the global
platform data.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mv643xx_eth.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mv643xx_eth.h b/include/linux/mv643xx_eth.h index eb78b00edcde..12339eb65704 100644 --- a/include/linux/mv643xx_eth.h +++ b/include/linux/mv643xx_eth.h | |||
@@ -17,6 +17,7 @@ | |||
17 | 17 | ||
18 | struct mv643xx_eth_shared_platform_data { | 18 | struct mv643xx_eth_shared_platform_data { |
19 | struct mbus_dram_target_info *dram; | 19 | struct mbus_dram_target_info *dram; |
20 | struct platform_device *shared_smi; | ||
20 | unsigned int t_clk; | 21 | unsigned int t_clk; |
21 | }; | 22 | }; |
22 | 23 | ||
@@ -30,7 +31,6 @@ struct mv643xx_eth_platform_data { | |||
30 | /* | 31 | /* |
31 | * Whether a PHY is present, and if yes, at which address. | 32 | * Whether a PHY is present, and if yes, at which address. |
32 | */ | 33 | */ |
33 | struct platform_device *shared_smi; | ||
34 | int force_phy_addr; | 34 | int force_phy_addr; |
35 | int phy_addr; | 35 | int phy_addr; |
36 | 36 | ||