diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-06 23:13:34 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-06 23:13:34 -0500 |
commit | daedd8708fe7707ed651bb1c83162f25c48a947c (patch) | |
tree | 424e9aaa7d6f686b729257e753e4edf91fecb73c /drivers/xen/xenbus | |
parent | 6a6662ced4153f6dbcfc40d7225c3cc45416039c (diff) | |
parent | 6b71c52e7f848e2c9f804e175215e5965ea90d32 (diff) |
Merge branch 'stable/cleanups-3.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen
* 'stable/cleanups-3.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
xen: use static initializers in xen-balloon.c
Xen: fix braces and tabs coding style issue in xenbus_probe.c
Xen: fix braces coding style issue in xenbus_probe.h
Xen: fix whitespaces,tabs coding style issue in drivers/xen/pci.c
Xen: fix braces coding style issue in gntdev.c and grant-table.c
Xen: fix whitespaces,tabs coding style issue in drivers/xen/events.c
Xen: fix whitespaces,tabs coding style issue in drivers/xen/balloon.c
Fix up trivial whitespace-conflicts in
drivers/xen/{balloon.c,pci.c,xenbus/xenbus_probe.c}
Diffstat (limited to 'drivers/xen/xenbus')
-rw-r--r-- | drivers/xen/xenbus/xenbus_probe.c | 7 | ||||
-rw-r--r-- | drivers/xen/xenbus/xenbus_probe.h | 3 |
2 files changed, 4 insertions, 6 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe.c b/drivers/xen/xenbus/xenbus_probe.c index 0e867eeecb0..1b178c6e893 100644 --- a/drivers/xen/xenbus/xenbus_probe.c +++ b/drivers/xen/xenbus/xenbus_probe.c | |||
@@ -310,8 +310,7 @@ void xenbus_unregister_driver(struct xenbus_driver *drv) | |||
310 | } | 310 | } |
311 | EXPORT_SYMBOL_GPL(xenbus_unregister_driver); | 311 | EXPORT_SYMBOL_GPL(xenbus_unregister_driver); |
312 | 312 | ||
313 | struct xb_find_info | 313 | struct xb_find_info { |
314 | { | ||
315 | struct xenbus_device *dev; | 314 | struct xenbus_device *dev; |
316 | const char *nodename; | 315 | const char *nodename; |
317 | }; | 316 | }; |
@@ -640,7 +639,7 @@ int xenbus_dev_cancel(struct device *dev) | |||
640 | EXPORT_SYMBOL_GPL(xenbus_dev_cancel); | 639 | EXPORT_SYMBOL_GPL(xenbus_dev_cancel); |
641 | 640 | ||
642 | /* A flag to determine if xenstored is 'ready' (i.e. has started) */ | 641 | /* A flag to determine if xenstored is 'ready' (i.e. has started) */ |
643 | int xenstored_ready = 0; | 642 | int xenstored_ready; |
644 | 643 | ||
645 | 644 | ||
646 | int register_xenstore_notifier(struct notifier_block *nb) | 645 | int register_xenstore_notifier(struct notifier_block *nb) |
@@ -771,7 +770,7 @@ static int __init xenbus_init(void) | |||
771 | proc_mkdir("xen", NULL); | 770 | proc_mkdir("xen", NULL); |
772 | #endif | 771 | #endif |
773 | 772 | ||
774 | out_error: | 773 | out_error: |
775 | return err; | 774 | return err; |
776 | } | 775 | } |
777 | 776 | ||
diff --git a/drivers/xen/xenbus/xenbus_probe.h b/drivers/xen/xenbus/xenbus_probe.h index b814935378c..9b1de4e34c6 100644 --- a/drivers/xen/xenbus/xenbus_probe.h +++ b/drivers/xen/xenbus/xenbus_probe.h | |||
@@ -36,8 +36,7 @@ | |||
36 | 36 | ||
37 | #define XEN_BUS_ID_SIZE 20 | 37 | #define XEN_BUS_ID_SIZE 20 |
38 | 38 | ||
39 | struct xen_bus_type | 39 | struct xen_bus_type { |
40 | { | ||
41 | char *root; | 40 | char *root; |
42 | unsigned int levels; | 41 | unsigned int levels; |
43 | int (*get_bus_id)(char bus_id[XEN_BUS_ID_SIZE], const char *nodename); | 42 | int (*get_bus_id)(char bus_id[XEN_BUS_ID_SIZE], const char *nodename); |