OpenCloudOS-Kernel/drivers/net/ethernet/atheros
Oleksij Rempel 9d4b98af8a net: ag71xx: fix compile warnings
drivers/net/ethernet/atheros/ag71xx.c: In function 'ag71xx_probe':
drivers/net/ethernet/atheros/ag71xx.c:1776:30: warning: passing argument 2 of
 'of_get_phy_mode' makes pointer from integer without a cast [-Wint-conversion]
In file included from drivers/net/ethernet/atheros/ag71xx.c:33:
./include/linux/of_net.h:15:69: note: expected 'phy_interface_t *'
 {aka 'enum <anonymous> *'} but argument is of type 'int'

Fixes: 0c65b2b90d ("net: of_get_phy_mode: Change API to solve int/unit warnings")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-17 22:38:50 -08:00
..
alx net: atheros: Use dev_get_drvdata 2019-07-23 13:02:41 -07:00
atl1c net: atheros: Use dev_get_drvdata 2019-07-23 13:02:41 -07:00
atl1e net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
atlx net: atheros: Use dev_get_drvdata 2019-07-23 13:02:41 -07:00
Kconfig net: ethernet: add ag71xx driver 2019-05-26 13:22:50 -07:00
Makefile net: ethernet: add ag71xx driver 2019-05-26 13:22:50 -07:00
ag71xx.c net: ag71xx: fix compile warnings 2019-12-17 22:38:50 -08:00