[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4ad729ba3e711c8acd0dab2d117e8be7bbf1bebf.1387271324.git.rashika.kheria@gmail.com>
Date: Tue, 17 Dec 2013 15:04:17 +0530
From: Rashika Kheria <rashika.kheria@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Len Brown <lenb@...nel.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
linux-acpi@...r.kernel.org, josh@...htriplett.org
Subject: [PATCH 10/11] drivers: acpi: Include appropriate header file in
proc.c
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 <rashika.kheria@...il.com>
Reviewed-by: Josh Triplett <josh@...htriplett.org>
---
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 <acpi/acpi_drivers.h>
#include "sleep.h"
+#include "internal.h"
#define _COMPONENT ACPI_SYSTEM_COMPONENT
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists