diff options
Diffstat (limited to 'drivers/block/xen-blkback/xenbus.c')
-rw-r--r-- | drivers/block/xen-blkback/xenbus.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/block/xen-blkback/xenbus.c b/drivers/block/xen-blkback/xenbus.c index 3a8b810b4980..0b13b1c9a01e 100644 --- a/drivers/block/xen-blkback/xenbus.c +++ b/drivers/block/xen-blkback/xenbus.c | |||
@@ -907,22 +907,17 @@ static int connect_ring(struct backend_info *be) | |||
907 | return 0; | 907 | return 0; |
908 | } | 908 | } |
909 | 909 | ||
910 | |||
911 | /* ** Driver Registration ** */ | ||
912 | |||
913 | |||
914 | static const struct xenbus_device_id xen_blkbk_ids[] = { | 910 | static const struct xenbus_device_id xen_blkbk_ids[] = { |
915 | { "vbd" }, | 911 | { "vbd" }, |
916 | { "" } | 912 | { "" } |
917 | }; | 913 | }; |
918 | 914 | ||
919 | 915 | static struct xenbus_driver xen_blkbk_driver = { | |
920 | static DEFINE_XENBUS_DRIVER(xen_blkbk, , | 916 | .ids = xen_blkbk_ids, |
921 | .probe = xen_blkbk_probe, | 917 | .probe = xen_blkbk_probe, |
922 | .remove = xen_blkbk_remove, | 918 | .remove = xen_blkbk_remove, |
923 | .otherend_changed = frontend_changed | 919 | .otherend_changed = frontend_changed |
924 | ); | 920 | }; |
925 | |||
926 | 921 | ||
927 | int xen_blkif_xenbus_init(void) | 922 | int xen_blkif_xenbus_init(void) |
928 | { | 923 | { |