Commit 58a685c2 authored by Cody P Schafer's avatar Cody P Schafer Committed by Benjamin Herrenschmidt

powerpc/perf/hv-gpci: Make device attr static

Signed-off-by: default avatarCody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 0a8cf9e2
...@@ -78,7 +78,7 @@ static ssize_t kernel_version_show(struct device *dev, ...@@ -78,7 +78,7 @@ static ssize_t kernel_version_show(struct device *dev,
return sprintf(page, "0x%x\n", COUNTER_INFO_VERSION_CURRENT); 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(version, "0x%x\n");
HV_CAPS_ATTR(ga, "%d\n"); HV_CAPS_ATTR(ga, "%d\n");
HV_CAPS_ATTR(expanded, "%d\n"); HV_CAPS_ATTR(expanded, "%d\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment