projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
coresight: tmc: mark symbols static where possible
[cascardo/linux.git]
/
drivers
/
hwtracing
/
coresight
/
coresight-tmc.c
diff --git
a/drivers/hwtracing/coresight/coresight-tmc.c
b/drivers/hwtracing/coresight/coresight-tmc.c
index
a474863
..
d8517d2
100644
(file)
--- a/
drivers/hwtracing/coresight/coresight-tmc.c
+++ b/
drivers/hwtracing/coresight/coresight-tmc.c
@@
-247,8
+247,8
@@
static struct attribute *coresight_tmc_mgmt_attrs[] = {
NULL,
};
NULL,
};
-ssize_t trigger_cntr_show(struct device *dev,
- struct device_attribute *attr, char *buf)
+s
tatic s
size_t trigger_cntr_show(struct device *dev,
+
struct device_attribute *attr, char *buf)
{
struct tmc_drvdata *drvdata = dev_get_drvdata(dev->parent);
unsigned long val = drvdata->trigger_cntr;
{
struct tmc_drvdata *drvdata = dev_get_drvdata(dev->parent);
unsigned long val = drvdata->trigger_cntr;