From: Timur Tabi Date: Fri, 7 Sep 2012 21:30:57 +0000 (-0500) Subject: netdev/phy: mdio-mux-mmioreg.c should include of_address.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=16fa9e1d104e6f2c18005a4ac7ea60e4c7fc1286;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Timur Tabi Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/mdio-mux-mmioreg.c b/drivers/net/phy/mdio-mux-mmioreg.c index 098239a98b19..9061ba622ac4 100644 --- a/drivers/net/phy/mdio-mux-mmioreg.c +++ b/drivers/net/phy/mdio-mux-mmioreg.c @@ -12,6 +12,7 @@ #include #include +#include #include #include #include