xen: remove DEFINE_XENBUS_DRIVER() macro
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 8 Sep 2014 16:30:41 +0000 (17:30 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 6 Oct 2014 09:27:57 +0000 (10:27 +0100)
commit95afae481414cbdb0567bf82d5e5077c3ac9da20
tree653ae2fae22966dd2a634ac4865ead3c6937eee9
parent305559f16538708b603ceeb317ebaed9c4da9ce9
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 <david.vrabel@citrix.com>
17 files changed:
drivers/block/xen-blkback/xenbus.c
drivers/block/xen-blkfront.c
drivers/char/tpm/xen-tpmfront.c
drivers/input/misc/xen-kbdfront.c
drivers/net/xen-netback/xenbus.c
drivers/net/xen-netfront.c
drivers/pci/xen-pcifront.c
drivers/scsi/xen-scsifront.c
drivers/tty/hvc/hvc_xen.c
drivers/video/fbdev/xen-fbfront.c
drivers/xen/xen-pciback/xenbus.c
drivers/xen/xen-scsiback.c
drivers/xen/xenbus/xenbus_probe.c
drivers/xen/xenbus/xenbus_probe.h
drivers/xen/xenbus/xenbus_probe_backend.c
drivers/xen/xenbus/xenbus_probe_frontend.c
include/xen/xenbus.h