diff options
author | Stephen Boyd <swboyd@chromium.org> | 2020-05-18 12:02:35 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-19 16:31:17 +0200 |
commit | e54d9c77d26649d7ed99b03873b20c8ffd5aecfe (patch) | |
tree | 76ec459e9c264e8c55a99ff27e78852be69223e4 /drivers/hwtracing/coresight/coresight-cti-platform.c | |
parent | fac28c4d34ca81bc77170fbbaaf1f6bedb3fa133 (diff) | |
download | linux-e54d9c77d26649d7ed99b03873b20c8ffd5aecfe.tar.gz linux-e54d9c77d26649d7ed99b03873b20c8ffd5aecfe.tar.bz2 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 'drivers/hwtracing/coresight/coresight-cti-platform.c')
-rw-r--r-- | drivers/hwtracing/coresight/coresight-cti-platform.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hwtracing/coresight/coresight-cti-platform.c b/drivers/hwtracing/coresight/coresight-cti-platform.c index b44d83142b62..c6c0c9b4827e 100644 --- a/drivers/hwtracing/coresight/coresight-cti-platform.c +++ b/drivers/hwtracing/coresight/coresight-cti-platform.c @@ -429,8 +429,7 @@ static int cti_plat_create_impdef_connections(struct device *dev, } /* get the hardware configuration & connection data. */ -int cti_plat_get_hw_data(struct device *dev, - struct cti_drvdata *drvdata) +static int cti_plat_get_hw_data(struct device *dev, struct cti_drvdata *drvdata) { int rc = 0; struct cti_device *cti_dev = &drvdata->ctidev; |