projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: dsa: Pass the dsa device to the switch drivers
[cascardo/linux.git]
/
drivers
/
net
/
dsa
/
mv88e6060.c
diff --git
a/drivers/net/dsa/mv88e6060.c
b/drivers/net/dsa/mv88e6060.c
index
0527f48
..
34d0f9f
100644
(file)
--- a/
drivers/net/dsa/mv88e6060.c
+++ b/
drivers/net/dsa/mv88e6060.c
@@
-57,7
+57,8
@@
static int reg_write(struct dsa_switch *ds, int addr, int reg, u16 val)
return __ret; \
})
return __ret; \
})
-static char *mv88e6060_probe(struct device *host_dev, int sw_addr)
+static char *mv88e6060_probe(struct device *dsa_dev, struct device *host_dev,
+ int sw_addr)
{
struct mii_bus *bus = dsa_host_dev_to_mii_bus(host_dev);
int ret;
{
struct mii_bus *bus = dsa_host_dev_to_mii_bus(host_dev);
int ret;