]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] Orion: avoid setting ->force_phy_addr
authorLennert Buytenhek <buytenh@wantstofly.org>
Wed, 28 May 2008 14:17:39 +0000 (16:17 +0200)
committerLennert Buytenhek <buytenh@marvell.com>
Sun, 22 Jun 2008 20:44:48 +0000 (22:44 +0200)
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>
arch/arm/mach-orion5x/db88f5281-setup.c
arch/arm/mach-orion5x/dns323-setup.c
arch/arm/mach-orion5x/kurobox_pro-setup.c
arch/arm/mach-orion5x/rd88f5182-setup.c
arch/arm/mach-orion5x/ts209-setup.c

index 3fee400c81abe9d9d721499143fde51e92cce886..00ad36ade57e0cb4195bdec5a597d45a3618dd6e 100644 (file)
@@ -286,7 +286,6 @@ subsys_initcall(db88f5281_pci_init);
  ****************************************************************************/
 static struct mv643xx_eth_platform_data db88f5281_eth_data = {
        .phy_addr       = 8,
-       .force_phy_addr = 1,
 };
 
 /*****************************************************************************
index ad810aa5fff53615ae7431e5f16c6d2ff9cbeaed..64730a045ff601774b46c47d96f3c816832712da 100644 (file)
@@ -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,
 };
 
 /****************************************************************************
index b8414f6e0e83ff763502c109f1526eabca3f5690..8b4a8aa5a8364b37a84aac0c4dc5a02c5bf23a89 100644 (file)
@@ -158,7 +158,6 @@ subsys_initcall(kurobox_pro_pci_init);
 
 static struct mv643xx_eth_platform_data kurobox_pro_eth_data = {
        .phy_addr       = 8,
-       .force_phy_addr = 1,
 };
 
 /*****************************************************************************
index 44ad5de87b79c172fe7e4f18528788b5ff49ef25..10ae62864269371af277850bcbed7048612e0319 100644 (file)
@@ -222,7 +222,6 @@ subsys_initcall(rd88f5182_pci_init);
 
 static struct mv643xx_eth_platform_data rd88f5182_eth_data = {
        .phy_addr       = 8,
-       .force_phy_addr = 1,
 };
 
 /*****************************************************************************
index 5ad7ad9b9461f66efb95f881dccd043768e6dabb..80b62329f58679b53c851d199f243f99c1bafb5c 100644 (file)
@@ -191,7 +191,6 @@ subsys_initcall(qnap_ts209_pci_init);
 
 static struct mv643xx_eth_platform_data qnap_ts209_eth_data = {
        .phy_addr       = 8,
-       .force_phy_addr = 1,
 };
 
 static int __init parse_hex_nibble(char n)