diff options
| author | Rashika <[email protected]> | 2013-12-17 09:34:17 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2014-01-05 23:13:23 +0000 |
| commit | 6a368751d54ed80e6ba868c29a04ad5118fe104b (patch) | |
| tree | 08f51b6d3f8f73b1d10e378a769595a8caf9a280 | |
| parent | ACPI / EC: Remove unused functions and add prototype declaration in internal.h (diff) | |
| download | kernel-6a368751d54ed80e6ba868c29a04ad5118fe104b.tar.gz kernel-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 <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
| -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 |
