From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Triplett Subject: Re: [PATCH 2/2] drivers: platform: Include appropriate header file in mxm-wmi.c Date: Fri, 13 Dec 2013 00:59:32 -0800 Message-ID: <20131213085932.GG4386@leaf> References: <89355c5023baba63de7d1313b3f52818b0fb9202.1386919194.git.rashika.kheria@gmail.com> <6614158e1dfcda1c77d22a2dd944a2e341346221.1386919194.git.rashika.kheria@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from relay3-d.mail.gandi.net ([217.70.183.195]:39772 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751636Ab3LMI7i convert rfc822-to-8bit (ORCPT ); Fri, 13 Dec 2013 03:59:38 -0500 Content-Disposition: inline In-Reply-To: <6614158e1dfcda1c77d22a2dd944a2e341346221.1386919194.git.rashika.kheria@gmail.com> Sender: platform-driver-x86-owner@vger.kernel.org List-ID: To: Rashika Kheria Cc: linux-kernel@vger.kernel.org, Matthew Garrett , platform-driver-x86@vger.kernel.org On Fri, Dec 13, 2013 at 12:59:52PM +0530, Rashika Kheria wrote: > This patch includes appropriate header file linux/mxm-wmi.h in > x86/mxm-wmi.c because functions mxm_wmi_call_mxds(), mxm_wmi_call_mxm= x() > and mxm_wmi_supported() have their prototype declaration in > linux/mxm-wmi.h. >=20 > Thus, it also eliminates the following warnings in x86/mxm-wmi.c: > drivers/platform/x86/mxm-wmi.c:43:5: warning: no previous prototype f= or =E2=80=98mxm_wmi_call_mxds=E2=80=99 [-Wmissing-prototypes] > drivers/platform/x86/mxm-wmi.c:68:5: warning: no previous prototype f= or =E2=80=98mxm_wmi_call_mxmx=E2=80=99 [-Wmissing-prototypes] > drivers/platform/x86/mxm-wmi.c:93:6: warning: no previous prototype f= or =E2=80=98mxm_wmi_supported=E2=80=99 [-Wmissing-prototypes] >=20 > Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett > drivers/platform/x86/mxm-wmi.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/platform/x86/mxm-wmi.c b/drivers/platform/x86/mx= m-wmi.c > index 0aea63b..7503d2b 100644 > --- a/drivers/platform/x86/mxm-wmi.c > +++ b/drivers/platform/x86/mxm-wmi.c > @@ -20,6 +20,7 @@ > #include > #include > #include > +#include > #include > #include > =20 > --=20 > 1.7.9.5 >=20