aboutsummaryrefslogtreecommitdiffstats
path: root/p26.patch
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-05 11:47:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-05 11:47:01 +0200
commit40a2bc5b5c03c7219f40be1f5be51089a156b974 (patch)
treeb0f7a9bbf7b64727a0f1b35f70ead1a4d2809736 /p26.patch
parent7d9e0d94f09501482a336a7a2e692c159ec4c9a9 (diff)
downloadpatches-40a2bc5b5c03c7219f40be1f5be51089a156b974.tar.gz
refresh and move some patches out of the main queue
Diffstat (limited to 'p26.patch')
-rw-r--r--p26.patch11
1 files changed, 2 insertions, 9 deletions
diff --git a/p26.patch b/p26.patch
index eac8789f6c314d..aa898527fcea52 100644
--- a/p26.patch
+++ b/p26.patch
@@ -43,18 +43,11 @@
static ssize_t modalias_show (struct device *dev, struct device_attribute *attr,
char *buf)
-@@ -48,6 +50,7 @@ static ssize_t modalias_show (struct dev
-
- return len+1;
- }
-+static DEVICE_ATTR_RO(modalias);
-
- static ssize_t devspec_show(struct device *dev,
- struct device_attribute *attr, char *buf)
-@@ -57,15 +60,25 @@ static ssize_t devspec_show(struct devic
+@@ -52,15 +54,26 @@ static ssize_t devspec_show(struct devic
ofdev = to_platform_device(dev);
return sprintf(buf, "%s\n", ofdev->dev.of_node->full_name);
}
++static DEVICE_ATTR_RO(modalias);
+static DEVICE_ATTR_RO(devspec);
macio_config_of_attr (name, "%s\n");