projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[kirkwood] Fix patch
[openwrt.git]
/
target
/
linux
/
brcm47xx
/
patches-2.6.34
/
950-sbb-sysfs-files.patch
diff --git
a/target/linux/brcm47xx/patches-2.6.34/950-sbb-sysfs-files.patch
b/target/linux/brcm47xx/patches-2.6.34/950-sbb-sysfs-files.patch
index
ddb1f1b
..
021c3c8
100644
(file)
--- a/
target/linux/brcm47xx/patches-2.6.34/950-sbb-sysfs-files.patch
+++ b/
target/linux/brcm47xx/patches-2.6.34/950-sbb-sysfs-files.patch
@@
-8,7
+8,7
@@
+static ssize_t \
+attrib##_show(struct device *dev, struct device_attribute *attr, char *buf) \
+{ \
+static ssize_t \
+attrib##_show(struct device *dev, struct device_attribute *attr, char *buf) \
+{ \
-+ return sprintf
(buf, format_string, dev_to_ssb_dev(dev)->field);
\
++ return sprintf
(buf, format_string, dev_to_ssb_dev(dev)->field);
\
+}
+
+ssb_config_attr(core_num, core_index, "%u\n")
+}
+
+ssb_config_attr(core_num, core_index, "%u\n")
@@
-19,7
+19,7
@@
+static ssize_t
+name_show(struct device *dev, struct device_attribute *attr, char *buf)
+{
+static ssize_t
+name_show(struct device *dev, struct device_attribute *attr, char *buf)
+{
-+ return sprintf
(buf, "%s\n", ssb_core_name(dev_to_ssb_dev(dev)->id.coreid));
++ return sprintf(buf, "%s\n", ssb_core_name(dev_to_ssb_dev(dev)->id.coreid));
+}
+
+static struct device_attribute ssb_device_attrs[] = {
+}
+
+static struct device_attribute ssb_device_attrs[] = {
This page took
0.021005 seconds
and
4
git commands to generate.