projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'sound-4.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[cascardo/linux.git]
/
arch
/
powerpc
/
perf
/
hv-24x7.c
diff --git
a/arch/powerpc/perf/hv-24x7.c
b/arch/powerpc/perf/hv-24x7.c
index
ec2eb20
..
df95629
100644
(file)
--- a/
arch/powerpc/perf/hv-24x7.c
+++ b/
arch/powerpc/perf/hv-24x7.c
@@
-320,6
+320,8
@@
static struct attribute *device_str_attr_create_(char *name, char *str)
if (!attr)
return NULL;
+ sysfs_attr_init(&attr->attr.attr);
+
attr->var = str;
attr->attr.attr.name = name;
attr->attr.attr.mode = 0444;