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 <[email protected]> Signed-off-by: Timur Tabi <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ba8bd0e commit 16fa9e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)