Commit fd03ea89641d6f6ade6d1a8580c1bb9f52b8542c

Authored by Frans Meulenbroeks
Committed by Heiko Schocher
1 parent 2c0dc99020

i2c: made unused function i2c_mux_add_device static

and removed it from the .h file

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>

Showing 2 changed files with 1 additions and 3 deletions Side-by-side Diff

... ... @@ -1357,7 +1357,7 @@
1357 1357 );
1358 1358  
1359 1359 #if defined(CONFIG_I2C_MUX)
1360   -int i2c_mux_add_device(I2C_MUX_DEVICE *dev)
  1360 +static int i2c_mux_add_device(I2C_MUX_DEVICE *dev)
1361 1361 {
1362 1362 I2C_MUX_DEVICE *devtmp = i2c_mux_devices;
1363 1363  
... ... @@ -127,8 +127,6 @@
127 127 struct _mux_device *next;
128 128 } I2C_MUX_DEVICE;
129 129  
130   -int i2c_mux_add_device(I2C_MUX_DEVICE *dev);
131   -
132 130 I2C_MUX_DEVICE *i2c_mux_search_device(int id);
133 131 I2C_MUX_DEVICE *i2c_mux_ident_muxstring (uchar *buf);
134 132 int i2x_mux_select_mux(int bus);