mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
xen: remove DEFINE_XENBUS_DRIVER() macro
The DEFINE_XENBUS_DRIVER() macro looks a bit weird and causes sparse errors. Replace the uses with standard structure definitions instead. This is similar to pci and usb device registration. Signed-off-by: David Vrabel <[email protected]>
This commit is contained in:
parent
305559f165
commit
95afae4814
17 changed files with 78 additions and 65 deletions
|
|
@ -684,12 +684,13 @@ static const struct xenbus_device_id xenfb_ids[] = {
|
|||
{ "" }
|
||||
};
|
||||
|
||||
static DEFINE_XENBUS_DRIVER(xenfb, ,
|
||||
static struct xenbus_driver xenfb_driver = {
|
||||
.ids = xenfb_ids,
|
||||
.probe = xenfb_probe,
|
||||
.remove = xenfb_remove,
|
||||
.resume = xenfb_resume,
|
||||
.otherend_changed = xenfb_backend_changed,
|
||||
);
|
||||
};
|
||||
|
||||
static int __init xenfb_init(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue