Skip to content

Commit 16fa9e1

Browse files
Timur Tabidavem330
authored andcommitted
netdev/phy: mdio-mux-mmioreg.c should include of_address.h
mdio-mux-mmioreg.c uses function of_address_to_resource(), which is defined in linux/of_address.h. This fixes a compilation error: drivers/net/phy/mdio-mux-mmioreg.c: In function 'mdio_mux_mmioreg_probe': drivers/net/phy/mdio-mux-mmioreg.c:83:2: error: implicit declaration of function 'of_address_to_resource' Reported-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent ba8bd0e commit 16fa9e1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/net/phy/mdio-mux-mmioreg.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#include <linux/platform_device.h>
1414
#include <linux/device.h>
15+
#include <linux/of_address.h>
1516
#include <linux/of_mdio.h>
1617
#include <linux/module.h>
1718
#include <linux/init.h>

0 commit comments

Comments
 (0)