X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fxen%2Fsys-hypervisor.c;h=60f1827a32cb7fc56b70a8ec829fc3c9fcaaee3c;hb=186837ca3a6dd6b422a5ea316ed38eea183dca5d;hp=ae5cb05a1a1cb01cd4777d84b66ea3ba84e98c8a;hpb=d5e5deddf67389eabc3d9b13004c108120d397e1;p=mv-sheeva.git diff --git a/drivers/xen/sys-hypervisor.c b/drivers/xen/sys-hypervisor.c index ae5cb05a1a1..60f1827a32c 100644 --- a/drivers/xen/sys-hypervisor.c +++ b/drivers/xen/sys-hypervisor.c @@ -7,6 +7,7 @@ * published by the Free Software Foundation. */ +#include #include #include #include @@ -426,7 +427,7 @@ static ssize_t hyp_sysfs_store(struct kobject *kobj, return 0; } -static struct sysfs_ops hyp_sysfs_ops = { +static const struct sysfs_ops hyp_sysfs_ops = { .show = hyp_sysfs_show, .store = hyp_sysfs_store, };