drivers: xen: Include appropriate header file in pcpu.c
authorRashika Kheria <rashika.kheria@gmail.com>
Sun, 9 Feb 2014 11:01:46 +0000 (16:31 +0530)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 28 Feb 2014 20:26:08 +0000 (15:26 -0500)
Include appropriate header file in xen/pcpu.c because include/xen/acpi.h
contains prototype declaration of functions defined in the file.

This eliminates the following warning in xen/pcpu.c:
drivers/xen/pcpu.c:336:6: warning: no previous prototype for ‘xen_pcpu_hotplug_sync’ [-Wmissing-prototypes]
drivers/xen/pcpu.c:346:5: warning: no previous prototype for ‘xen_pcpu_id’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/pcpu.c

index 79e1dff7ed4f7f4c258d50e009f48e0bf0a5673c..0aac403d53fd2987045272b34ca8a5a0a17ffa68 100644 (file)
@@ -40,6 +40,7 @@
 #include <linux/capability.h>
 
 #include <xen/xen.h>
+#include <xen/acpi.h>
 #include <xen/xenbus.h>
 #include <xen/events.h>
 #include <xen/interface/platform.h>