aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenbus
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/xenbus')
-rw-r--r--drivers/xen/xenbus/xenbus_dev_backend.c2
-rw-r--r--drivers/xen/xenbus/xenbus_probe.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/xen/xenbus/xenbus_dev_backend.c b/drivers/xen/xenbus/xenbus_dev_backend.c
index be738c43104b..d73000800762 100644
--- a/drivers/xen/xenbus/xenbus_dev_backend.c
+++ b/drivers/xen/xenbus/xenbus_dev_backend.c
@@ -107,7 +107,7 @@ static int xenbus_backend_mmap(struct file *file, struct vm_area_struct *vma)
107 return 0; 107 return 0;
108} 108}
109 109
110const struct file_operations xenbus_backend_fops = { 110static const struct file_operations xenbus_backend_fops = {
111 .open = xenbus_backend_open, 111 .open = xenbus_backend_open,
112 .mmap = xenbus_backend_mmap, 112 .mmap = xenbus_backend_mmap,
113 .unlocked_ioctl = xenbus_backend_ioctl, 113 .unlocked_ioctl = xenbus_backend_ioctl,
diff --git a/drivers/xen/xenbus/xenbus_probe.c b/drivers/xen/xenbus/xenbus_probe.c
index b793723e724d..91d3d6544a7b 100644
--- a/drivers/xen/xenbus/xenbus_probe.c
+++ b/drivers/xen/xenbus/xenbus_probe.c
@@ -324,8 +324,8 @@ static int cmp_dev(struct device *dev, void *data)
324 return 0; 324 return 0;
325} 325}
326 326
327struct xenbus_device *xenbus_device_find(const char *nodename, 327static struct xenbus_device *xenbus_device_find(const char *nodename,
328 struct bus_type *bus) 328 struct bus_type *bus)
329{ 329{
330 struct xb_find_info info = { .dev = NULL, .nodename = nodename }; 330 struct xb_find_info info = { .dev = NULL, .nodename = nodename };
331 331