projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a8cf9e
)
powerpc/perf/hv-gpci: Make device attr static
author
Cody P Schafer
<
[email protected]
>
Tue, 15 Apr 2014 17:10:52 +0000
(10:10 -0700)
committer
Benjamin Herrenschmidt
<
[email protected]
>
Mon, 28 Apr 2014 03:11:26 +0000
(13:11 +1000)
Signed-off-by: Cody P Schafer <
[email protected]
>
Signed-off-by: Benjamin Herrenschmidt <
[email protected]
>
arch/powerpc/perf/hv-gpci.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/perf/hv-gpci.c
b/arch/powerpc/perf/hv-gpci.c
index 8fee1dccaaec3f0ddc43a316047d522075d29197..c9d399a2df82e6727fa78b4de69fb867cc85552f 100644
(file)
--- a/
arch/powerpc/perf/hv-gpci.c
+++ b/
arch/powerpc/perf/hv-gpci.c
@@
-78,7
+78,7
@@
static ssize_t kernel_version_show(struct device *dev,
return sprintf(page, "0x%x\n", COUNTER_INFO_VERSION_CURRENT);
}
-DEVICE_ATTR_RO(kernel_version);
+
static
DEVICE_ATTR_RO(kernel_version);
HV_CAPS_ATTR(version, "0x%x\n");
HV_CAPS_ATTR(ga, "%d\n");
HV_CAPS_ATTR(expanded, "%d\n");