Re: [PATCH] netdev/phy: mdio-mux-mmioreg.c should includeof_address.h

From: David Miller
Date: Fri Sep 07 2012 - 17:25:02 EST


From: Timur Tabi <timur@xxxxxxxxxxxxx>
Date: Fri, 7 Sep 2012 15:09:52 -0500

> 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'
>
> Signed-off-by: Timur Tabi <timur@xxxxxxxxxxxxx>

Please provide "Reported-by: ..." tags to give credit to the problem
reporter, Randy Dunlap in this case.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/