1 From 30b19330e175f621b04718bc4e55db75768997aa Mon Sep 17 00:00:00 2001
2 From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
3 Date: Wed, 29 May 2013 09:32:45 +0000
4 Subject: [PATCH 22/29] net: mv643xx_eth: add phy_node to platform_data struct
6 This adds a struct device_node pointer for a phy passed by phandle
9 Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
10 Signed-off-by: David S. Miller <davem@davemloft.net>
12 include/linux/mv643xx_eth.h | 2 ++
13 1 file changed, 2 insertions(+)
15 --- a/include/linux/mv643xx_eth.h
16 +++ b/include/linux/mv643xx_eth.h
17 @@ -30,6 +30,7 @@ struct mv643xx_eth_shared_platform_data
18 #define MV643XX_ETH_PHY_ADDR(x) (0x80 | (x))
19 #define MV643XX_ETH_PHY_NONE 0xff
22 struct mv643xx_eth_platform_data {
24 * Pointer back to our parent instance, and our port number.
25 @@ -41,6 +42,7 @@ struct mv643xx_eth_platform_data {
26 * Whether a PHY is present, and if yes, at which address.
29 + struct device_node *phy_node;
32 * Use this MAC address if it is valid, overriding the