summaryrefslogtreecommitdiff
path: root/drivers/acpi/dock.c
diff options
context:
space:
mode:
authorRashika <rashika.kheria@gmail.com>2013-12-17 15:00:04 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-01-06 00:13:22 +0100
commit3f9eed5c044743e781d7d76202666f346cf3e757 (patch)
tree3c22e9a957cd2867778ea2902db3f7c941df797a /drivers/acpi/dock.c
parentc071b6040c442de247a537c977ea13f97b6df6f8 (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.c2
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 @@
#include <linux/stddef.h>
#include <linux/acpi.h>
+#include "internal.h"
+
#define PREFIX "ACPI: "
#define ACPI_DOCK_DRIVER_DESCRIPTION "ACPI Dock Station Driver"