summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenbus/xenbus_probe.h
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2014-09-08 17:30:41 +0100
committerDavid Vrabel <david.vrabel@citrix.com>2014-10-06 10:27:57 +0100
commit95afae481414cbdb0567bf82d5e5077c3ac9da20 (patch)
tree653ae2fae22966dd2a634ac4865ead3c6937eee9 /drivers/xen/xenbus/xenbus_probe.h
parent305559f16538708b603ceeb317ebaed9c4da9ce9 (diff)
downloadblackbird-op-linux-95afae481414cbdb0567bf82d5e5077c3ac9da20.tar.gz
blackbird-op-linux-95afae481414cbdb0567bf82d5e5077c3ac9da20.zip
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>
Diffstat (limited to 'drivers/xen/xenbus/xenbus_probe.h')
-rw-r--r--drivers/xen/xenbus/xenbus_probe.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe.h b/drivers/xen/xenbus/xenbus_probe.h
index 1085ec294a19..c9ec7ca1f7ab 100644
--- a/drivers/xen/xenbus/xenbus_probe.h
+++ b/drivers/xen/xenbus/xenbus_probe.h
@@ -60,7 +60,9 @@ extern int xenbus_match(struct device *_dev, struct device_driver *_drv);
extern int xenbus_dev_probe(struct device *_dev);
extern int xenbus_dev_remove(struct device *_dev);
extern int xenbus_register_driver_common(struct xenbus_driver *drv,
- struct xen_bus_type *bus);
+ struct xen_bus_type *bus,
+ struct module *owner,
+ const char *mod_name);
extern int xenbus_probe_node(struct xen_bus_type *bus,
const char *type,
const char *nodename);
OpenPOWER on IntegriCloud