diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-06 14:17:02 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-09 11:00:46 +0200 |
commit | 9f4ac349bd60ef463450a00aa5e19c67f5ad12e2 (patch) | |
tree | bddeb4b9812ed73292a9fea1de93dff28cf107df /include/linux/superhyway.h | |
parent | 39afc7af152519cc3f41dfb4460701e7c00c3391 (diff) | |
download | linux-9f4ac349bd60ef463450a00aa5e19c67f5ad12e2.tar.gz linux-9f4ac349bd60ef463450a00aa5e19c67f5ad12e2.tar.bz2 linux-9f4ac349bd60ef463450a00aa5e19c67f5ad12e2.zip |
sh: superhyway: use dev_groups and not dev_attrs for bus_type
The dev_attrs field has long been "depreciated" and is finally being
removed, so move the driver to use the "correct" dev_groups field
instead for struct bus_type.
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: <linux-sh@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/superhyway.h')
-rw-r--r-- | include/linux/superhyway.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/superhyway.h b/include/linux/superhyway.h index 17ea468fa362..8d3376775813 100644 --- a/include/linux/superhyway.h +++ b/include/linux/superhyway.h @@ -101,7 +101,7 @@ int superhyway_add_device(unsigned long base, struct superhyway_device *, struct int superhyway_add_devices(struct superhyway_bus *bus, struct superhyway_device **devices, int nr_devices); /* drivers/sh/superhyway/superhyway-sysfs.c */ -extern struct device_attribute superhyway_dev_attrs[]; +extern const struct attribute_group *superhyway_dev_groups[]; #endif /* __LINUX_SUPERHYWAY_H */ |