summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion5x/dns323-setup.c
diff options
context:
space:
mode:
authorLennert Buytenhek2008-05-28 16:17:39 +0200
committerLennert Buytenhek2008-06-22 22:44:48 +0200
commit2850a037734eac0af2e6abc4e8be986c3edfd834 (patch)
treeab0e8a470dc8464fff2452b2580cc41b397a8ccc /arch/arm/mach-orion5x/dns323-setup.c
parent[ARM] Orion: remove error printks in ->map_irq() implementations (diff)
downloadkernel-qcow2-linux-2850a037734eac0af2e6abc4e8be986c3edfd834.tar.gz
kernel-qcow2-linux-2850a037734eac0af2e6abc4e8be986c3edfd834.tar.xz
kernel-qcow2-linux-2850a037734eac0af2e6abc4e8be986c3edfd834.zip
[ARM] Orion: avoid setting ->force_phy_addr
The mv643xx_eth platform data field ->force_phy_addr only needs to be set if the passed-in ->phy_addr field is zero (to distinguish the case of not having specified a phy address (force_phy_addr = 0) from the case where a phy address of zero needs to be used (force_phy_addr = 1.)) Also, the ->force_phy_addr field will hopefully disappear in a future mv643xx_eth reorganisation. Therefore, this patch deletes the ->force_phy_addr field initialiser from all Orion board code. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'arch/arm/mach-orion5x/dns323-setup.c')
-rw-r--r--arch/arm/mach-orion5x/dns323-setup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/dns323-setup.c b/arch/arm/mach-orion5x/dns323-setup.c
index ad810aa5fff5..64730a045ff6 100644
--- a/arch/arm/mach-orion5x/dns323-setup.c
+++ b/arch/arm/mach-orion5x/dns323-setup.c
@@ -80,7 +80,6 @@ subsys_initcall(dns323_pci_init);
static struct mv643xx_eth_platform_data dns323_eth_data = {
.phy_addr = 8,
- .force_phy_addr = 1,
};
/****************************************************************************