diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-02-10 18:06:08 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-03-07 01:07:46 +0100 |
commit | c8e043e6f717b0256b1cfc55d03c232e8a5c8cbd (patch) | |
tree | 110a175e0fe68502c8935f58a8686f8675fa580f /net/can/Makefile | |
parent | i2c: designware-baytrail: fix typo in error path (diff) | |
download | linux-c8e043e6f717b0256b1cfc55d03c232e8a5c8cbd.tar.xz linux-c8e043e6f717b0256b1cfc55d03c232e8a5c8cbd.zip |
i2c: designware-baytrail: fix sparse warnings
There is no need to export functions that are used as the callbacks in the
struct dw_i2c_dev. Otherwise we get the following warnings:
drivers/i2c/busses/i2c-designware-baytrail.c:63:5: warning: symbol 'baytrail_i2c_acquire' was not declared. Should it be static?
drivers/i2c/busses/i2c-designware-baytrail.c:114:6: warning: symbol 'baytrail_i2c_release' was not declared. Should it be static?
While here, do few indentation fixes, remove i2c_dw_eval_lock_support() from
functions exported to the modules and redundant assignment of local sem
variable.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'net/can/Makefile')
0 files changed, 0 insertions, 0 deletions