diff options
author | 2020-05-18 12:02:35 -0600 | |
---|---|---|
committer | 2020-05-19 16:31:17 +0200 | |
commit | e54d9c77d26649d7ed99b03873b20c8ffd5aecfe (patch) | |
tree | 76ec459e9c264e8c55a99ff27e78852be69223e4 /drivers/hwtracing/coresight/coresight-tmc.c | |
parent | coresight: etm4x: Add support for Neoverse N1 ETM (diff) | |
download | wireguard-linux-e54d9c77d26649d7ed99b03873b20c8ffd5aecfe.tar.xz wireguard-linux-e54d9c77d26649d7ed99b03873b20c8ffd5aecfe.zip |
coresight: Mark some functions static
These functions aren't used outside the file they're in. Mark them
static to indicate as such and silence tools like sparse.
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
[Dropped changes in coresight-cti.c and coresight-etb10.c]
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200518180242.7916-17-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/hwtracing/coresight/coresight-tmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwtracing/coresight/coresight-tmc.c b/drivers/hwtracing/coresight/coresight-tmc.c index 1cf82fa58289..39fba1d16e6e 100644 --- a/drivers/hwtracing/coresight/coresight-tmc.c +++ b/drivers/hwtracing/coresight/coresight-tmc.c @@ -361,7 +361,7 @@ static const struct attribute_group coresight_tmc_mgmt_group = { .name = "mgmt", }; -const struct attribute_group *coresight_tmc_groups[] = { +static const struct attribute_group *coresight_tmc_groups[] = { &coresight_tmc_group, &coresight_tmc_mgmt_group, NULL, |