From patchwork Fri Sep 7 21:30:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timur Tabi X-Patchwork-Id: 182455 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id BB2EA2C0094 for ; Sat, 8 Sep 2012 07:31:43 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757738Ab2IGVbK (ORCPT ); Fri, 7 Sep 2012 17:31:10 -0400 Received: from co1ehsobe001.messaging.microsoft.com ([216.32.180.184]:22326 "EHLO co1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751599Ab2IGVbJ (ORCPT ); Fri, 7 Sep 2012 17:31:09 -0400 Received: from mail10-co1-R.bigfish.com (10.243.78.230) by CO1EHSOBE006.bigfish.com (10.243.66.69) with Microsoft SMTP Server id 14.1.225.23; Fri, 7 Sep 2012 21:31:07 +0000 Received: from mail10-co1 (localhost [127.0.0.1]) by mail10-co1-R.bigfish.com (Postfix) with ESMTP id C998C680068; Fri, 7 Sep 2012 21:31:07 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1202h1d1ahzz8275ch8275bhz2dh2a8h668h839hd24he5bhf0ah107ah1288h12a5h1155h) Received: from mail10-co1 (localhost.localdomain [127.0.0.1]) by mail10-co1 (MessageSwitch) id 1347053465296238_21504; Fri, 7 Sep 2012 21:31:05 +0000 (UTC) Received: from CO1EHSMHS028.bigfish.com (unknown [10.243.78.242]) by mail10-co1.bigfish.com (Postfix) with ESMTP id 42A6A4A0046; Fri, 7 Sep 2012 21:31:05 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO1EHSMHS028.bigfish.com (10.243.66.38) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 7 Sep 2012 21:30:59 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server (TLS) id 14.2.309.3; Fri, 7 Sep 2012 16:30:58 -0500 Received: from efes.am.freescale.net (efes.am.freescale.net [10.82.123.3]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id q87LUvQQ020586; Fri, 7 Sep 2012 14:30:58 -0700 From: Timur Tabi To: , , , , Subject: [PATCH][v2] netdev/phy: mdio-mux-mmioreg.c should include of_address.h Date: Fri, 7 Sep 2012 16:30:57 -0500 Message-ID: <1347053457-24935-1-git-send-email-timur@freescale.com> X-Mailer: git-send-email 1.7.3.4 Organization: Freescale Semiconductor MIME-Version: 1.0 X-OriginatorOrg: freescale.com Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 Acked-by: Randy Dunlap --- 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