summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2014-02-09 16:31:46 +0530
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2014-02-28 15:26:08 -0500
commit6cb606f102e45ea7c42cf3d812883489ba99ce5a (patch)
tree19465089615f27e6e46bb7fa7148b78fd0d76343 /drivers
parent598ddb8cf3329d299746d6704d8df97f397906b6 (diff)
downloadop-kernel-dev-6cb606f102e45ea7c42cf3d812883489ba99ce5a.zip
op-kernel-dev-6cb606f102e45ea7c42cf3d812883489ba99ce5a.tar.gz
drivers: xen: Include appropriate header file in pcpu.c
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/xen/pcpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/pcpu.c b/drivers/xen/pcpu.c
index 79e1dff..0aac403 100644
--- a/drivers/xen/pcpu.c
+++ b/drivers/xen/pcpu.c
@@ -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>
OpenPOWER on IntegriCloud