diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-07 18:27:42 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-16 18:40:58 -0700 |
commit | ba6857b2d49646f2d4c245ff58d95d145f380177 (patch) | |
tree | 29771d7ae3c2c80e09ec1742e78b81567c0475e0 /drivers/message/i2o/core.h | |
parent | b785464bdbe6a98730f0984c14ec8d4cf7ec9980 (diff) | |
download | op-kernel-dev-ba6857b2d49646f2d4c245ff58d95d145f380177.zip op-kernel-dev-ba6857b2d49646f2d4c245ff58d95d145f380177.tar.gz |
i2o: 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 i2o bus code to use the
correct field.
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/message/i2o/core.h')
-rw-r--r-- | drivers/message/i2o/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/i2o/core.h b/drivers/message/i2o/core.h index cbe384f..91614f1 100644 --- a/drivers/message/i2o/core.h +++ b/drivers/message/i2o/core.h @@ -33,7 +33,7 @@ extern int __init i2o_pci_init(void); extern void __exit i2o_pci_exit(void); /* device */ -extern struct device_attribute i2o_device_attrs[]; +extern const struct attribute_group *i2o_device_groups[]; extern void i2o_device_remove(struct i2o_device *); extern int i2o_device_parse_lct(struct i2o_controller *); |