summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/proc.c
diff options
context:
space:
mode:
authorRashika <rashika.kheria@gmail.com>2013-12-17 10:34:17 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-01-06 00:13:23 +0100
commit6a368751d54ed80e6ba868c29a04ad5118fe104b (patch)
tree08f51b6d3f8f73b1d10e378a769595a8caf9a280 /drivers/acpi/proc.c
parentACPI / EC: Remove unused functions and add prototype declaration in internal.h (diff)
downloadlinux-6a368751d54ed80e6ba868c29a04ad5118fe104b.tar.xz
linux-6a368751d54ed80e6ba868c29a04ad5118fe104b.zip
ACPI / proc: 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@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/proc.c')
-rw-r--r--drivers/acpi/proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/proc.c b/drivers/acpi/proc.c
index db061bfd95a8..50fe34ffe932 100644
--- a/drivers/acpi/proc.c
+++ b/drivers/acpi/proc.c
@@ -7,6 +7,7 @@
#include <asm/uaccess.h>
#include "sleep.h"
+#include "internal.h"
#define _COMPONENT ACPI_SYSTEM_COMPONENT