diff options
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 | }; |