From patchwork Mon May 2 06:30:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Viresh KUMAR X-Patchwork-Id: 93592 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 85B14B6F1B for ; Mon, 2 May 2011 16:30:57 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754677Ab1EBGax (ORCPT ); Mon, 2 May 2011 02:30:53 -0400 Received: from eu1sys200aog109.obsmtp.com ([207.126.144.127]:54492 "EHLO eu1sys200aog109.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753667Ab1EBGaw (ORCPT ); Mon, 2 May 2011 02:30:52 -0400 Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob109.postini.com ([207.126.147.11]) with SMTP ID DSNKTb5PmZC+VFpUaP5OLRF/dZWJvbdrvswR@postini.com; Mon, 02 May 2011 06:30:51 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 60C47D8; Mon, 2 May 2011 06:30:46 +0000 (GMT) Received: from Webmail-ap.st.com (eapex1hubcas1.st.com [10.80.176.8]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 4C02B7C3; Mon, 2 May 2011 06:30:46 +0000 (GMT) Received: from localhost (10.199.7.86) by Webmail-ap.st.com (10.80.176.7) with Microsoft SMTP Server (TLS) id 8.2.234.1; Mon, 2 May 2011 14:30:45 +0800 From: Viresh Kumar To: Cc: , , , , , Viresh Kumar Subject: [PATCH] linux/stmmac.h: include to remove compilation warning. Date: Mon, 2 May 2011 12:00:37 +0530 Message-ID: <2239eca1d15014be7b6d94f883f9492dc1fbc60a.1304317552.git.viresh.kumar@st.com> X-Mailer: git-send-email 1.7.2.2 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org stmmac.h uses struct platform_device and doesn't include . And so we get following compilation warning while using this file: warning: ‘struct platform_device’ declared inside parameter list This patch includes in stmmac.h to remove this warning Signed-off-by: Viresh Kumar --- include/linux/stmmac.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h index 73d9b4e..d7dfe7d 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h @@ -26,6 +26,8 @@ #ifndef __STMMAC_PLATFORM_DATA #define __STMMAC_PLATFORM_DATA +#include + #define STMAC_TYPE_0 0 #define STMAC_TYPE_1 1 #define STMAC_TYPE_2 2