mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
i2c-sibyte: Mark i2c_sibyte_add_bus() as static
The i2c_sibyte_add_bus() function is not called, nor meant to, from outside, so mark it as static; fixing a sparse warning too. Signed-off-by: Maciej W. Rozycki <[email protected]> Signed-off-by: Jean Delvare <[email protected]>
This commit is contained in:
parent
b3eb5a0bc3
commit
b11a9d8392
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ static const struct i2c_algorithm i2c_sibyte_algo = {
|
|||
/*
|
||||
* registering functions to load algorithms at runtime
|
||||
*/
|
||||
int __init i2c_sibyte_add_bus(struct i2c_adapter *i2c_adap, int speed)
|
||||
static int __init i2c_sibyte_add_bus(struct i2c_adapter *i2c_adap, int speed)
|
||||
{
|
||||
struct i2c_algo_sibyte_data *adap = i2c_adap->algo_data;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue