diff options
Diffstat (limited to 'drivers/block/xen-blkfront.c')
-rw-r--r-- | drivers/block/xen-blkfront.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 5deb235bd18f..37af03e9d859 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c | |||
@@ -2055,13 +2055,14 @@ static const struct xenbus_device_id blkfront_ids[] = { | |||
2055 | { "" } | 2055 | { "" } |
2056 | }; | 2056 | }; |
2057 | 2057 | ||
2058 | static DEFINE_XENBUS_DRIVER(blkfront, , | 2058 | static struct xenbus_driver blkfront_driver = { |
2059 | .ids = blkfront_ids, | ||
2059 | .probe = blkfront_probe, | 2060 | .probe = blkfront_probe, |
2060 | .remove = blkfront_remove, | 2061 | .remove = blkfront_remove, |
2061 | .resume = blkfront_resume, | 2062 | .resume = blkfront_resume, |
2062 | .otherend_changed = blkback_changed, | 2063 | .otherend_changed = blkback_changed, |
2063 | .is_ready = blkfront_is_ready, | 2064 | .is_ready = blkfront_is_ready, |
2064 | ); | 2065 | }; |
2065 | 2066 | ||
2066 | static int __init xlblk_init(void) | 2067 | static int __init xlblk_init(void) |
2067 | { | 2068 | { |