diff options
author | Timur Tabi <timur@freescale.com> | 2012-09-07 16:30:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-07 17:32:25 -0400 |
commit | 16fa9e1d104e6f2c18005a4ac7ea60e4c7fc1286 (patch) | |
tree | 3f6ed1350d34b16328c5509561c67e810851d40c /drivers/net | |
parent | ba8bd0ea982427258ab86144ac5fd1a9d7763a90 (diff) |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/phy/mdio-mux-mmioreg.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <linux/platform_device.h> #include <linux/device.h> +#include <linux/of_address.h> #include <linux/of_mdio.h> #include <linux/module.h> #include <linux/init.h> |