diff options
Diffstat (limited to 'drivers/xen/xenbus/xenbus_probe.h')
-rw-r--r-- | drivers/xen/xenbus/xenbus_probe.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe.h b/drivers/xen/xenbus/xenbus_probe.h index e09b19415a40..6c5e3185a6a2 100644 --- a/drivers/xen/xenbus/xenbus_probe.h +++ b/drivers/xen/xenbus/xenbus_probe.h | |||
@@ -34,6 +34,8 @@ | |||
34 | #ifndef _XENBUS_PROBE_H | 34 | #ifndef _XENBUS_PROBE_H |
35 | #define _XENBUS_PROBE_H | 35 | #define _XENBUS_PROBE_H |
36 | 36 | ||
37 | #define XEN_BUS_ID_SIZE 20 | ||
38 | |||
37 | #ifdef CONFIG_XEN_BACKEND | 39 | #ifdef CONFIG_XEN_BACKEND |
38 | extern void xenbus_backend_suspend(int (*fn)(struct device *, void *)); | 40 | extern void xenbus_backend_suspend(int (*fn)(struct device *, void *)); |
39 | extern void xenbus_backend_resume(int (*fn)(struct device *, void *)); | 41 | extern void xenbus_backend_resume(int (*fn)(struct device *, void *)); |
@@ -52,7 +54,7 @@ struct xen_bus_type | |||
52 | { | 54 | { |
53 | char *root; | 55 | char *root; |
54 | unsigned int levels; | 56 | unsigned int levels; |
55 | int (*get_bus_id)(char bus_id[BUS_ID_SIZE], const char *nodename); | 57 | int (*get_bus_id)(char bus_id[XEN_BUS_ID_SIZE], const char *nodename); |
56 | int (*probe)(const char *type, const char *dir); | 58 | int (*probe)(const char *type, const char *dir); |
57 | struct bus_type bus; | 59 | struct bus_type bus; |
58 | }; | 60 | }; |