diff options
author | Rashika <rashika.kheria@gmail.com> | 2013-12-17 04:30:04 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-01-05 18:13:22 -0500 |
commit | 3f9eed5c044743e781d7d76202666f346cf3e757 (patch) | |
tree | 3c22e9a957cd2867778ea2902db3f7c941df797a /drivers/acpi/dock.c | |
parent | c071b6040c442de247a537c977ea13f97b6df6f8 (diff) |
ACPI / dock: Include appropriate header file in dock.c
Includes appropriate header file internal.h in dock.c because
function acpi_dock_init() has its prototype declaration in
internal.h.
This eliminates the following warning in dock.c:
drivers/acpi/dock.c:899:13: warning: no previous prototype for ‘acpi_dock_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/dock.c')
-rw-r--r-- | drivers/acpi/dock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index c2090c023102..38c2e325f325 100644 --- a/drivers/acpi/dock.c +++ b/drivers/acpi/dock.c | |||
@@ -33,6 +33,8 @@ | |||
33 | #include <linux/stddef.h> | 33 | #include <linux/stddef.h> |
34 | #include <linux/acpi.h> | 34 | #include <linux/acpi.h> |
35 | 35 | ||
36 | #include "internal.h" | ||
37 | |||
36 | #define PREFIX "ACPI: " | 38 | #define PREFIX "ACPI: " |
37 | 39 | ||
38 | #define ACPI_DOCK_DRIVER_DESCRIPTION "ACPI Dock Station Driver" | 40 | #define ACPI_DOCK_DRIVER_DESCRIPTION "ACPI Dock Station Driver" |