diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-06 23:55:49 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-16 18:36:03 -0700 |
commit | 85dd92686ffe774363330a6839a3fb9c78f19cf8 (patch) | |
tree | 3a66bcb7f9e7b2a28a74fddfc503ab229d453692 /drivers/xen/xenbus/xenbus_probe_frontend.c | |
parent | 4e9072d61695abcee201591ba9515a28bcb3bd33 (diff) | |
download | kernel_replicant_linux-85dd92686ffe774363330a6839a3fb9c78f19cf8.tar.gz kernel_replicant_linux-85dd92686ffe774363330a6839a3fb9c78f19cf8.tar.bz2 kernel_replicant_linux-85dd92686ffe774363330a6839a3fb9c78f19cf8.zip |
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_frontend.c')
-rw-r--r-- | drivers/xen/xenbus/xenbus_probe_frontend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe_frontend.c b/drivers/xen/xenbus/xenbus_probe_frontend.c index 34b20bfa4e8c..129bf84c19ec 100644 --- a/drivers/xen/xenbus/xenbus_probe_frontend.c +++ b/drivers/xen/xenbus/xenbus_probe_frontend.c @@ -154,7 +154,7 @@ static struct xen_bus_type xenbus_frontend = { .probe = xenbus_frontend_dev_probe, .remove = xenbus_dev_remove, .shutdown = xenbus_dev_shutdown, - .dev_attrs = xenbus_dev_attrs, + .dev_groups = xenbus_dev_groups, .pm = &xenbus_pm_ops, }, |