X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fhwtracing%2Fcoresight%2Fcoresight-tmc.c;fp=drivers%2Fhwtracing%2Fcoresight%2Fcoresight-tmc.c;h=d8517d2a968caf8f97e1a2e5c89c9167a12bc58d;hb=0ef7528d15c2981d315c5dd45917559e47d5149d;hp=a4748630f5d630e6df2fd13cf01af91f2f6da0e1;hpb=8e67cdbc2f7b57bc1448c505ce5c20e60238728b;p=cascardo%2Flinux.git diff --git a/drivers/hwtracing/coresight/coresight-tmc.c b/drivers/hwtracing/coresight/coresight-tmc.c index a4748630f5d6..d8517d2a968c 100644 --- 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, }; -ssize_t trigger_cntr_show(struct device *dev, - struct device_attribute *attr, char *buf) +static ssize_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;