diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-23 14:24:29 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 15:49:42 -0700 |
commit | ed1d2da28ea17e6f5e06111aac957d9847faff17 (patch) | |
tree | c646e8e90f28b850f97730ed42b5699b51dcc8da /drivers/rapidio/rio.h | |
parent | 3e358ac2bb5bb9c9f4842145ca0da2384d13fd98 (diff) |
rapidio: convert bus code to use bus_groups
The bus_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 085215cd8502..57d2ad06a816 100644 --- a/drivers/rapidio/rio.h +++ b/drivers/rapidio/rio.h @@ -49,7 +49,7 @@ extern int rio_mport_scan(int mport_id); /* Structures internal to the RIO core code */ extern struct device_attribute rio_dev_attrs[]; -extern struct bus_attribute rio_bus_attrs[]; +extern const struct attribute_group *rio_bus_groups[]; #define RIO_GET_DID(size, x) (size ? (x & 0xffff) : ((x & 0x00ff0000) >> 16)) #define RIO_SET_DID(size, x) (size ? (x & 0xffff) : ((x & 0x000000ff) << 16)) |