mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
xen/dev: switch to DEVMETHOD_END
Switch to the preferred end of the device method table. These hadn't been updated previously. Reviewed by: royger
This commit is contained in:
parent
c5c26f15f8
commit
3e5e0e2f16
|
@ -3777,7 +3777,8 @@ static device_method_t xbb_methods[] = {
|
|||
|
||||
/* Xenbus interface */
|
||||
DEVMETHOD(xenbus_otherend_changed, xbb_frontend_changed),
|
||||
{ 0, 0 }
|
||||
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static driver_t xbb_driver = {
|
||||
|
|
|
@ -1633,7 +1633,7 @@ static device_method_t xbd_methods[] = {
|
|||
/* Xenbus interface */
|
||||
DEVMETHOD(xenbus_otherend_changed, xbd_backend_changed),
|
||||
|
||||
{ 0, 0 }
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static driver_t xbd_driver = {
|
||||
|
|
|
@ -2485,7 +2485,8 @@ static device_method_t xnb_methods[] = {
|
|||
|
||||
/* Xenbus interface */
|
||||
DEVMETHOD(xenbus_otherend_changed, xnb_frontend_changed),
|
||||
{ 0, 0 }
|
||||
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static driver_t xnb_driver = {
|
||||
|
|
|
@ -212,7 +212,8 @@ static device_method_t xenpci_methods[] = {
|
|||
DEVMETHOD(device_attach, xenpci_attach),
|
||||
DEVMETHOD(device_detach, xenpci_detach),
|
||||
DEVMETHOD(device_resume, xenpci_resume),
|
||||
{ 0, 0 }
|
||||
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static driver_t xenpci_driver = {
|
||||
|
|
|
@ -305,7 +305,8 @@ static device_method_t xenbusb_back_methods[] = {
|
|||
DEVMETHOD(xenbusb_get_otherend_node, xenbusb_back_get_otherend_node),
|
||||
DEVMETHOD(xenbusb_otherend_changed, xenbusb_back_otherend_changed),
|
||||
DEVMETHOD(xenbusb_localend_changed, xenbusb_back_localend_changed),
|
||||
{ 0, 0 }
|
||||
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
DEFINE_CLASS_0(xenbusb_back, xenbusb_back_driver, xenbusb_back_methods,
|
||||
|
|
|
@ -182,7 +182,8 @@ static device_method_t xenbusb_front_methods[] = {
|
|||
/* XenBus Bus Interface */
|
||||
DEVMETHOD(xenbusb_enumerate_type, xenbusb_front_enumerate_type),
|
||||
DEVMETHOD(xenbusb_get_otherend_node, xenbusb_front_get_otherend_node),
|
||||
{ 0, 0 }
|
||||
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
DEFINE_CLASS_0(xenbusb_front, xenbusb_front_driver, xenbusb_front_methods,
|
||||
|
|
Loading…
Reference in a new issue