Commit b11a9d83 authored by Maciej W. Rozycki's avatar Maciej W. Rozycki Committed by Jean Delvare

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: default avatarMaciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent b3eb5a0b
...@@ -132,7 +132,7 @@ static const struct i2c_algorithm i2c_sibyte_algo = { ...@@ -132,7 +132,7 @@ static const struct i2c_algorithm i2c_sibyte_algo = {
/* /*
* registering functions to load algorithms at runtime * 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; struct i2c_algo_sibyte_data *adap = i2c_adap->algo_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment