Koen Vandeputte d3506d1bc1 ar71xx: ag71xx: fix compile error when enabling debug
Starting from kernel 4.5, phy_id needs to be fetched from a different location.

not doing so results in this compile error:

drivers/net/ethernet/atheros/ag71xx/ag71xx_phy.c: In function 'ag71xx_phy_connect_multi':
drivers/net/ethernet/atheros/ag71xx/ag71xx_phy.c:133:35: error: 'struct mdio_device' has no member named 'phy_id'
    ag->mii_bus->mdio_map[phy_addr]->phy_id);
                                   ^
./include/linux/printk.h:137:18: note: in definition of macro 'no_printk'
    printk(fmt, ##__VA_ARGS__); \
                  ^~~~~~~~~~~
drivers/net/ethernet/atheros/ag71xx/ag71xx.h:72:27: note: in expansion of macro 'pr_debug'
 #define DBG(fmt, args...) pr_debug(fmt, ## args)
                           ^~~~~~~~
drivers/net/ethernet/atheros/ag71xx/ag71xx_phy.c:130:3: note: in expansion of macro 'DBG'
   DBG("%s: PHY found at %s, uid=%08x\n",
   ^~~
scripts/Makefile.build:326: recipe for target 'drivers/net/ethernet/atheros/ag71xx/ag71xx_phy.o' failed

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2019-03-05 13:19:43 +01:00
..
2019-01-28 18:17:32 +01:00
2019-01-28 18:17:32 +01:00
2019-01-28 18:17:32 +01:00
2019-01-27 00:16:13 +01:00
2018-11-05 16:00:00 +01:00
2019-01-28 18:17:32 +01:00
2019-02-14 16:45:01 +01:00
2019-03-05 13:19:43 +01:00
2019-03-05 13:19:43 +01:00
2019-02-25 17:33:16 +01:00
2019-02-22 10:53:42 +01:00
2019-01-28 18:17:32 +01:00
2019-03-05 13:19:43 +01:00
2019-01-13 16:31:40 +01:00
2018-08-20 13:03:23 +02:00
2019-02-14 16:45:01 +01:00
2019-03-05 13:19:43 +01:00
2019-01-12 19:40:13 +01:00
2018-10-09 14:29:55 +02:00
2018-10-19 10:01:57 +02:00
2019-01-07 17:09:06 +01:00
2018-12-10 11:48:44 +01:00
2018-08-20 13:03:23 +02:00
2018-12-26 17:32:48 +01:00