From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753294Ab3LQJea (ORCPT ); Tue, 17 Dec 2013 04:34:30 -0500 Received: from mail-pd0-f178.google.com ([209.85.192.178]:54456 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750966Ab3LQJe1 (ORCPT ); Tue, 17 Dec 2013 04:34:27 -0500 Date: Tue, 17 Dec 2013 15:04:17 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Cc: Len Brown , "Rafael J. Wysocki" , linux-acpi@vger.kernel.org, josh@joshtriplett.org Subject: [PATCH 10/11] drivers: acpi: Include appropriate header file in proc.c Message-ID: <4ad729ba3e711c8acd0dab2d117e8be7bbf1bebf.1387271324.git.rashika.kheria@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Include appropriate header file internal.h in proc.c because function acpi_sleep_proc_init() has its prototype declaration in internal.h. This eliminates the following warning in proc.c: drivers/acpi/proc.c:148:12: warning: no previous prototype for ‘acpi_sleep_proc_init’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- drivers/acpi/proc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/proc.c b/drivers/acpi/proc.c index 6a5b152..e8f7d36 100644 --- a/drivers/acpi/proc.c +++ b/drivers/acpi/proc.c @@ -9,6 +9,7 @@ #include #include "sleep.h" +#include "internal.h" #define _COMPONENT ACPI_SYSTEM_COMPONENT -- 1.7.9.5