diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-06 23:55:47 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-16 18:36:03 -0700 |
commit | 6d39c80b19073e2889dabab939fe1a09584138ed (patch) | |
tree | b44a256173c94ccb82fb9b5e3650e9067a535b18 /drivers/rapidio/rio.h | |
parent | b9b2f36761501c7bda070cacc53d24235f2529de (diff) | |
download | op-kernel-dev-6d39c80b19073e2889dabab939fe1a09584138ed.zip op-kernel-dev-6d39c80b19073e2889dabab939fe1a09584138ed.tar.gz |
rapidio: 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 rapidio bus code to use the
correct field.
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Alexandre Bounine <alexandre.bounine@idt.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rapidio/rio.h')
-rw-r--r-- | drivers/rapidio/rio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rapidio/rio.h b/drivers/rapidio/rio.h index 57d2ad0..5f99d22 100644 --- a/drivers/rapidio/rio.h +++ b/drivers/rapidio/rio.h @@ -48,7 +48,7 @@ extern struct rio_mport *rio_find_mport(int mport_id); extern int rio_mport_scan(int mport_id); /* Structures internal to the RIO core code */ -extern struct device_attribute rio_dev_attrs[]; +extern const struct attribute_group *rio_dev_groups[]; extern const struct attribute_group *rio_bus_groups[]; #define RIO_GET_DID(size, x) (size ? (x & 0xffff) : ((x & 0x00ff0000) >> 16)) |