diff options
| author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-05-29 05:32:45 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-05-30 20:54:03 -0400 |
| commit | 5f292354e7ff69afbe9a272ef997b8f3edaf860a (patch) | |
| tree | 296991ea00e8feb58a3911d8aa4988d2e20c4dfa /include/linux | |
| parent | 65a6f969fd1af549111b1667d9ca857e3cc649eb (diff) | |
net: mv643xx_eth: add phy_node to platform_data struct
This adds a struct device_node pointer for a phy passed by phandle
to mv643xx_eth node.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mv643xx_eth.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mv643xx_eth.h b/include/linux/mv643xx_eth.h index 141d395bbb5f..6e8215b15998 100644 --- a/include/linux/mv643xx_eth.h +++ b/include/linux/mv643xx_eth.h | |||
| @@ -30,6 +30,7 @@ struct mv643xx_eth_shared_platform_data { | |||
| 30 | #define MV643XX_ETH_PHY_ADDR(x) (0x80 | (x)) | 30 | #define MV643XX_ETH_PHY_ADDR(x) (0x80 | (x)) |
| 31 | #define MV643XX_ETH_PHY_NONE 0xff | 31 | #define MV643XX_ETH_PHY_NONE 0xff |
| 32 | 32 | ||
| 33 | struct device_node; | ||
| 33 | struct mv643xx_eth_platform_data { | 34 | struct mv643xx_eth_platform_data { |
| 34 | /* | 35 | /* |
| 35 | * Pointer back to our parent instance, and our port number. | 36 | * Pointer back to our parent instance, and our port number. |
| @@ -41,6 +42,7 @@ struct mv643xx_eth_platform_data { | |||
| 41 | * Whether a PHY is present, and if yes, at which address. | 42 | * Whether a PHY is present, and if yes, at which address. |
| 42 | */ | 43 | */ |
| 43 | int phy_addr; | 44 | int phy_addr; |
| 45 | struct device_node *phy_node; | ||
| 44 | 46 | ||
| 45 | /* | 47 | /* |
| 46 | * Use this MAC address if it is valid, overriding the | 48 | * Use this MAC address if it is valid, overriding the |
