diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-05-02 17:34:16 -0700 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-05-08 16:57:23 +0000 |
commit | 192e12765f96fca026f25182c6b31d909c4191a8 (patch) | |
tree | 673bfbb14c06b61173a20a6aa1a6301bdb334d49 /drivers/video/mb862xx | |
parent | 43b1aee0d9b7faa04532a9dc3c161a3bb272d15f (diff) | |
download | linux-stable-192e12765f96fca026f25182c6b31d909c4191a8.tar.gz linux-stable-192e12765f96fca026f25182c6b31d909c4191a8.tar.bz2 linux-stable-192e12765f96fca026f25182c6b31d909c4191a8.zip |
video: mb862xx-i2c: local functions should not be exposed globally
Functions not referenced outside of a source file should be marked
static to prevent them from being exposed globally.
Quiets the sparse warnings:
warning: symbol 'mb862xx_i2c_stop' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/mb862xx')
-rw-r--r-- | drivers/video/mb862xx/mb862xx-i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/mb862xx/mb862xx-i2c.c b/drivers/video/mb862xx/mb862xx-i2c.c index 273769bb8deb..c87e17afb3e2 100644 --- a/drivers/video/mb862xx/mb862xx-i2c.c +++ b/drivers/video/mb862xx/mb862xx-i2c.c @@ -68,7 +68,7 @@ static int mb862xx_i2c_read_byte(struct i2c_adapter *adap, u8 *byte, int last) return 1; } -void mb862xx_i2c_stop(struct i2c_adapter *adap) +static void mb862xx_i2c_stop(struct i2c_adapter *adap) { struct mb862xxfb_par *par = adap->algo_data; |