|
@@ -2227,7 +2227,7 @@ static ssize_t name##_show(struct device *_dev, \
|
|
|
return scnprintf(buf, PAGE_SIZE, "0x%x\n", \
|
|
|
readl_relaxed(drvdata->base + offset)); \
|
|
|
} \
|
|
|
-DEVICE_ATTR_RO(name)
|
|
|
+static DEVICE_ATTR_RO(name)
|
|
|
|
|
|
coresight_simple_func(trcoslsr, TRCOSLSR);
|
|
|
coresight_simple_func(trcpdcr, TRCPDCR);
|