diff options
author | Rashika <rashika.kheria@gmail.com> | 2013-12-17 15:04:17 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-01-06 00:13:23 +0100 |
commit | 6a368751d54ed80e6ba868c29a04ad5118fe104b (patch) | |
tree | 08f51b6d3f8f73b1d10e378a769595a8caf9a280 /drivers/acpi/proc.c | |
parent | b8a0b0d199307eca0e99c30a06c9ed85a7f49678 (diff) |
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.c | 1 |
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 |