summaryrefslogtreecommitdiffstats
path: root/include/linux/superhyway.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-06 14:17:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-09 11:00:46 +0200
commit9f4ac349bd60ef463450a00aa5e19c67f5ad12e2 (patch)
treebddeb4b9812ed73292a9fea1de93dff28cf107df /include/linux/superhyway.h
parent39afc7af152519cc3f41dfb4460701e7c00c3391 (diff)
downloadop-kernel-dev-9f4ac349bd60ef463450a00aa5e19c67f5ad12e2.zip
op-kernel-dev-9f4ac349bd60ef463450a00aa5e19c67f5ad12e2.tar.gz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/superhyway.h b/include/linux/superhyway.h
index 17ea468..8d33767 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 */
OpenPOWER on IntegriCloud