diff options
author | Cody P Schafer <cody@linux.vnet.ibm.com> | 2014-04-15 10:10:52 -0700 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-04-28 13:11:26 +1000 |
commit | 58a685c2d8f0616b5c6cfa0f7a9f2d081af3c6fd (patch) | |
tree | 57ae15851e2d81a2d28168cf479baa008b418dd0 /arch/powerpc/perf | |
parent | 0a8cf9e28c094cd934deaedfd3ec07830f2a63cf (diff) | |
download | blackbird-op-linux-58a685c2d8f0616b5c6cfa0f7a9f2d081af3c6fd.tar.gz blackbird-op-linux-58a685c2d8f0616b5c6cfa0f7a9f2d081af3c6fd.zip |
powerpc/perf/hv-gpci: Make device attr static
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/perf')
-rw-r--r-- | arch/powerpc/perf/hv-gpci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/perf/hv-gpci.c b/arch/powerpc/perf/hv-gpci.c index 8fee1dccaaec..c9d399a2df82 100644 --- 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"); |