ACPI / dock: Include appropriate header file in dock.c
authorRashika <rashika.kheria@gmail.com>
Tue, 17 Dec 2013 09:30:04 +0000 (15:00 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 5 Jan 2014 23:13:22 +0000 (00:13 +0100)
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>
drivers/acpi/dock.c

index c2090c0..38c2e32 100644 (file)
@@ -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"