From patchwork Tue Oct 9 08:55:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 190243 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 B8B132C00A4 for ; Tue, 9 Oct 2012 19:56:23 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754317Ab2JII4W (ORCPT ); Tue, 9 Oct 2012 04:56:22 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:57582 "EHLO opensource.wolfsonmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754301Ab2JII4V (ORCPT ); Tue, 9 Oct 2012 04:56:21 -0400 Received: from finisterre.wolfsonmicro.main (unknown [203.226.204.124]) by opensource.wolfsonmicro.com (Postfix) with ESMTPSA id BDC9E750004; Tue, 9 Oct 2012 09:56:18 +0100 (BST) Received: from broonie by finisterre.wolfsonmicro.main with local (Exim 4.80) (envelope-from ) id 1TLVbN-0003j1-9W; Tue, 09 Oct 2012 17:55:47 +0900 From: Mark Brown To: "David S. Miller" , David Daney Cc: netdev@vger.kernel.org, Mark Brown Subject: [PATCH] netdev/phy: Prototype of_mdio_find_bus() Date: Tue, 9 Oct 2012 17:55:43 +0900 Message-Id: <1349772944-14289-1-git-send-email-broonie@opensource.wolfsonmicro.com> X-Mailer: git-send-email 1.7.10.4 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Ensure that of_mdio_find_bus() matches the prototype in the header (and stop sparse complaining) by including the header with the prototype. Signed-off-by: Mark Brown --- drivers/net/phy/mdio_bus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c index 170eb41..c1ef300 100644 --- a/drivers/net/phy/mdio_bus.c +++ b/drivers/net/phy/mdio_bus.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include