diff options
Diffstat (limited to 'drivers/xen/xen-pciback')
-rw-r--r-- | drivers/xen/xen-pciback/xenbus.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/xen/xen-pciback/xenbus.c b/drivers/xen/xen-pciback/xenbus.c index c214daab4829..ad8d30c088fe 100644 --- a/drivers/xen/xen-pciback/xenbus.c +++ b/drivers/xen/xen-pciback/xenbus.c | |||
@@ -719,11 +719,13 @@ static const struct xenbus_device_id xen_pcibk_ids[] = { | |||
719 | {""}, | 719 | {""}, |
720 | }; | 720 | }; |
721 | 721 | ||
722 | static DEFINE_XENBUS_DRIVER(xen_pcibk, DRV_NAME, | 722 | static struct xenbus_driver xen_pcibk_driver = { |
723 | .name = DRV_NAME, | ||
724 | .ids = xen_pcibk_ids, | ||
723 | .probe = xen_pcibk_xenbus_probe, | 725 | .probe = xen_pcibk_xenbus_probe, |
724 | .remove = xen_pcibk_xenbus_remove, | 726 | .remove = xen_pcibk_xenbus_remove, |
725 | .otherend_changed = xen_pcibk_frontend_changed, | 727 | .otherend_changed = xen_pcibk_frontend_changed, |
726 | ); | 728 | }; |
727 | 729 | ||
728 | const struct xen_pcibk_backend *__read_mostly xen_pcibk_backend; | 730 | const struct xen_pcibk_backend *__read_mostly xen_pcibk_backend; |
729 | 731 | ||