From: Cody P Schafer Date: Tue, 15 Apr 2014 17:10:52 +0000 (-0700) Subject: powerpc/perf/hv-gpci: Make device attr static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=58a685c2d8f0616b5c6cfa0f7a9f2d081af3c6fd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git powerpc/perf/hv-gpci: Make device attr static Signed-off-by: Cody P Schafer Signed-off-by: Benjamin Herrenschmidt --- 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");