ACPI / proc: Include appropriate header file in proc.c
authorRashika <rashika.kheria@gmail.com>
Tue, 17 Dec 2013 09:34:17 +0000 (15:04 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 5 Jan 2014 23:13:23 +0000 (00:13 +0100)
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@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/proc.c

index db061bf..50fe34f 100644 (file)
@@ -7,6 +7,7 @@
 #include <asm/uaccess.h>
 
 #include "sleep.h"
+#include "internal.h"
 
 #define _COMPONENT             ACPI_SYSTEM_COMPONENT