1 From 76a09d3052c7c1c5d4a3fcdfee3a12cfc998d58f Mon Sep 17 00:00:00 2001
2 From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
3 Date: Wed, 29 May 2013 21:32:45 +0200
4 Subject: [PATCH 20/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>
11 include/linux/mv643xx_eth.h | 2 ++
12 1 file changed, 2 insertions(+)
14 diff --git a/include/linux/mv643xx_eth.h b/include/linux/mv643xx_eth.h
15 index 141d395..6e8215b 100644
16 --- a/include/linux/mv643xx_eth.h
17 +++ b/include/linux/mv643xx_eth.h
18 @@ -30,6 +30,7 @@ struct mv643xx_eth_shared_platform_data {
19 #define MV643XX_ETH_PHY_ADDR(x) (0x80 | (x))
20 #define MV643XX_ETH_PHY_NONE 0xff
23 struct mv643xx_eth_platform_data {
25 * Pointer back to our parent instance, and our port number.
26 @@ -41,6 +42,7 @@ struct mv643xx_eth_platform_data {
27 * Whether a PHY is present, and if yes, at which address.
30 + struct device_node *phy_node;
33 * Use this MAC address if it is valid, overriding the