diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-08-27 09:26:30 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-08-29 22:13:12 +0300 |
commit | a565a03faff90b634bf523f104389b540cfcb226 (patch) | |
tree | 4adbbc4218cebe16349958b93e1d6c07e0b0ea6f /.mailmap | |
parent | 96303e20270af6e7ac9d7d98b9c68e3288d4b6ba (diff) | |
download | linux-a565a03faff90b634bf523f104389b540cfcb226.tar.xz |
fix:iio:common:st_sensors:st_sensors_trigger:mark symbols static where possible
We get 2 warnings when biuld kernel with W=1:
drivers/iio/common/st_sensors/st_sensors_trigger.c:69:13: warning: no previous prototype
for 'st_sensors_irq_handler' [-Wmissing-prototypes]
drivers/iio/common/st_sensors/st_sensors_trigger.c:85:13: warning: no previous prototype
for 'st_sensors_irq_thread' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions