netdev/phy: mdio-mux-mmioreg.c should include of_address.h
authorTimur Tabi <timur@freescale.com>
Fri, 7 Sep 2012 21:30:57 +0000 (16:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Sep 2012 21:32:25 +0000 (17:32 -0400)
commit5da0bd96983c80787e00e58d446773b73b518b4f
tree3f6ed1350d34b16328c5509561c67e810851d40c
parentac0d852ae661f19b8ca0b609e9ede9ee20239559
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>
drivers/net/phy/mdio-mux-mmioreg.c