summaryrefslogtreecommitdiff
path: root/drivers/xen/xenbus/xenbus_probe.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-07 06:55:49 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-17 01:36:03 (GMT)
commit85dd92686ffe774363330a6839a3fb9c78f19cf8 (patch)
tree3a66bcb7f9e7b2a28a74fddfc503ab229d453692 /drivers/xen/xenbus/xenbus_probe.h
parent4e9072d61695abcee201591ba9515a28bcb3bd33 (diff)
downloadlinux-85dd92686ffe774363330a6839a3fb9c78f19cf8.tar.xz
xenbus: convert bus code to use dev_groups
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the xenbus code to use the correct field. Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Acked-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Cc: David Vrabel <david.vrabel@citrix.com> Cc: <xen-devel@lists.xenproject.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/xen/xenbus/xenbus_probe.h')
-rw-r--r--drivers/xen/xenbus/xenbus_probe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe.h b/drivers/xen/xenbus/xenbus_probe.h
index 146f857..1085ec2 100644
--- a/drivers/xen/xenbus/xenbus_probe.h
+++ b/drivers/xen/xenbus/xenbus_probe.h
@@ -54,7 +54,7 @@ enum xenstore_init {
XS_LOCAL,
};
-extern struct device_attribute xenbus_dev_attrs[];
+extern const struct attribute_group *xenbus_dev_groups[];
extern int xenbus_match(struct device *_dev, struct device_driver *_drv);
extern int xenbus_dev_probe(struct device *_dev);