X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Ffiles%2Fdrivers%2Fnet%2Fdsa%2Fmv88e6063.c;fp=target%2Flinux%2Far71xx%2Ffiles%2Fdrivers%2Fnet%2Fdsa%2Fmv88e6063.c;h=b9e9af35b8e9b412bb4d0a73e6971d8ee060adaa;hb=d79ef430ab7005f17980b72f71d16485f68c8217;hp=224b4913c617635665d8e875d9239c0e7dc723d2;hpb=d5731a51a60ca72e976ca66e48f3ae2ded7b29e2;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/target/linux/ar71xx/files/drivers/net/dsa/mv88e6063.c b/target/linux/ar71xx/files/drivers/net/dsa/mv88e6063.c index 224b4913c6..b9e9af35b8 100644 --- a/target/linux/ar71xx/files/drivers/net/dsa/mv88e6063.c +++ b/target/linux/ar71xx/files/drivers/net/dsa/mv88e6063.c @@ -66,11 +66,12 @@ static int reg_write(struct dsa_switch *ds, int addr, int reg, u16 val) #if LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0) static char *mv88e6063_probe(struct mii_bus *bus, int sw_addr) +{ #else static char *mv88e6063_probe(struct device *host_dev, int sw_addr) -#endif { struct mii_bus *bus = dsa_host_dev_to_mii_bus(host_dev); +#endif int ret; ret = mdiobus_read(bus, REG_PORT(0), 0x03);