dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
H Hartley Sweeten 2012-05-02 17:34:16 -07:00 committed by Florian Tobias Schandinat
parent 43b1aee0d9
commit 192e12765f
1 changed files with 1 additions and 1 deletions

View File

@ -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;