From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Subject: [PATCH] netdev/phy: mdio-mux-mmioreg.c should include of_address.h Date: Fri, 7 Sep 2012 15:09:52 -0500 Message-ID: <1347048592-22957-1-git-send-email-timur@freescale.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from ch1ehsobe002.messaging.microsoft.com ([216.32.181.182]:22361 "EHLO ch1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752887Ab2IGUJ5 (ORCPT ); Fri, 7 Sep 2012 16:09:57 -0400 Sender: linux-next-owner@vger.kernel.org List-ID: To: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-next@vger.kernel.org, sfr@canb.auug.org.au, rdunlap@xenotime.net 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 --- 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 098239a..9061ba6 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 -- 1.7.3.4