aboutsummaryrefslogtreecommitdiffstats
path: root/p29.patch
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-22 17:08:18 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-22 17:08:18 +0100
commite7d7dc0e0e7ab68f1845e11b7574d83ac8015e0e (patch)
tree72d317ef93f50aa80af2f67c9d109e7ff59413ff /p29.patch
parent08ba5e5e533732546b64764231406dd6151342c1 (diff)
downloadpatches-e7d7dc0e0e7ab68f1845e11b7574d83ac8015e0e.tar.gz
lots of patches and fixes added and made
Diffstat (limited to 'p29.patch')
-rw-r--r--p29.patch31
1 files changed, 8 insertions, 23 deletions
diff --git a/p29.patch b/p29.patch
index 01c6a81e00d07f..0d004f2d7ac5f4 100644
--- a/p29.patch
+++ b/p29.patch
@@ -1,6 +1,6 @@
---
- arch/powerpc/kernel/vio.c | 50 ++++++++++++++++++++++++++--------------------
- 1 file changed, 29 insertions(+), 21 deletions(-)
+ arch/powerpc/kernel/vio.c | 43 ++++++++++++++++++++++---------------------
+ 1 file changed, 22 insertions(+), 21 deletions(-)
--- a/arch/powerpc/kernel/vio.c
+++ b/arch/powerpc/kernel/vio.c
@@ -77,31 +77,16 @@
vio_bus_type.bus_groups = vio_bus_groups;
}
#else /* CONFIG_PPC_SMLPAR */
-@@ -1562,12 +1569,13 @@ static ssize_t modalias_show(struct devi
- return sprintf(buf, "vio:T%sS%s\n", vio_dev->type, cp);
+@@ -1570,12 +1577,6 @@ static ssize_t modalias_show(struct devi
}
+ static DEVICE_ATTR_RO(modalias);
-static struct device_attribute vio_dev_attrs[] = {
- __ATTR_RO(name),
- __ATTR_RO(devspec),
- __ATTR_RO(modalias),
- __ATTR_NULL
-+static struct attribute *vio_dev_attrs[] = {
-+ &dev_attr_name.attr,
-+ &dev_attr_devspec.attr,
-+ &dev_attr_modalias.attr,
-+ NULL,
- };
-+ATTRIBUTE_GROUPS(vio_dev);
-
- void vio_unregister_device(struct vio_dev *viodev)
- {
-@@ -1603,7 +1611,7 @@ static int vio_hotplug(struct device *de
-
- struct bus_type vio_bus_type = {
- .name = "vio",
-- .dev_attrs = vio_dev_attrs,
-+ .dev_groups = vio_dev_groups,
- .uevent = vio_hotplug,
- .match = vio_bus_match,
- .probe = vio_bus_probe,
+-};
+ static struct attribute *vio_dev_attrs[] = {
+ &dev_attr_name.attr,
+ &dev_attr_devspec.attr,