diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /drivers/xen/sys-hypervisor.c | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'drivers/xen/sys-hypervisor.c')
-rw-r--r-- | drivers/xen/sys-hypervisor.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/xen/sys-hypervisor.c b/drivers/xen/sys-hypervisor.c index 88a60e03ccf0..60f1827a32cb 100644 --- a/drivers/xen/sys-hypervisor.c +++ b/drivers/xen/sys-hypervisor.c | |||
@@ -7,6 +7,7 @@ | |||
7 | * published by the Free Software Foundation. | 7 | * published by the Free Software Foundation. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/slab.h> | ||
10 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
11 | #include <linux/module.h> | 12 | #include <linux/module.h> |
12 | #include <linux/kobject.h> | 13 | #include <linux/kobject.h> |
@@ -14,6 +15,7 @@ | |||
14 | #include <asm/xen/hypervisor.h> | 15 | #include <asm/xen/hypervisor.h> |
15 | #include <asm/xen/hypercall.h> | 16 | #include <asm/xen/hypercall.h> |
16 | 17 | ||
18 | #include <xen/xen.h> | ||
17 | #include <xen/xenbus.h> | 19 | #include <xen/xenbus.h> |
18 | #include <xen/interface/xen.h> | 20 | #include <xen/interface/xen.h> |
19 | #include <xen/interface/version.h> | 21 | #include <xen/interface/version.h> |
@@ -425,7 +427,7 @@ static ssize_t hyp_sysfs_store(struct kobject *kobj, | |||
425 | return 0; | 427 | return 0; |
426 | } | 428 | } |
427 | 429 | ||
428 | static struct sysfs_ops hyp_sysfs_ops = { | 430 | static const struct sysfs_ops hyp_sysfs_ops = { |
429 | .show = hyp_sysfs_show, | 431 | .show = hyp_sysfs_show, |
430 | .store = hyp_sysfs_store, | 432 | .store = hyp_sysfs_store, |
431 | }; | 433 | }; |