summaryrefslogtreecommitdiff
path: root/include/miiphy.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2016-08-08 11:28:39 -0500
committerJoe Hershberger <joe.hershberger@ni.com>2016-08-15 15:29:03 -0500
commitdfcc496ed7e24d3eb9b506f000adefd916b5148f (patch)
treee9c6b45fa75bd4d55d3a7dc63c18988f5b9afb1f /include/miiphy.h
parent875e0bc68a53653aceae33cd92cbb29a8b82471c (diff)
net: mii: Changes not made by spatch
If the functions passed to the registration function are not in the same C file (extern) then spatch will not handle the dependent changes. Make those changes manually. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> For the 4xx related files: Acked-by: Stefan Roese <sr@denx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/miiphy.h')
-rw-r--r--include/miiphy.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/miiphy.h b/include/miiphy.h
index af12274c81..8a55a1382b 100644
--- a/include/miiphy.h
+++ b/include/miiphy.h
@@ -86,10 +86,9 @@ extern struct bb_miiphy_bus bb_miiphy_buses[];
extern int bb_miiphy_buses_num;
void bb_miiphy_init(void);
-int bb_miiphy_read(const char *devname, unsigned char addr,
- unsigned char reg, unsigned short *value);
-int bb_miiphy_write(const char *devname, unsigned char addr,
- unsigned char reg, unsigned short value);
+int bb_miiphy_read(struct mii_dev *miidev, int addr, int devad, int reg);
+int bb_miiphy_write(struct mii_dev *miidev, int addr, int devad, int reg,
+ u16 value);
#endif
/* phy seed setup */