diff options
Diffstat (limited to 'p26.patch')
| -rw-r--r-- | p26.patch | 11 |
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"); |
