i2c: made unused function i2c_mux_add_device static

and removed it from the .h file

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
This commit is contained in:
Frans Meulenbroeks 2010-03-26 09:46:42 +01:00 committed by Heiko Schocher
parent 2c0dc99020
commit fd03ea8964
2 changed files with 1 additions and 3 deletions

View file

@ -1357,7 +1357,7 @@ U_BOOT_CMD(
); );
#if defined(CONFIG_I2C_MUX) #if defined(CONFIG_I2C_MUX)
int i2c_mux_add_device(I2C_MUX_DEVICE *dev) static int i2c_mux_add_device(I2C_MUX_DEVICE *dev)
{ {
I2C_MUX_DEVICE *devtmp = i2c_mux_devices; I2C_MUX_DEVICE *devtmp = i2c_mux_devices;

View file

@ -127,8 +127,6 @@ typedef struct _mux_device {
struct _mux_device *next; struct _mux_device *next;
} I2C_MUX_DEVICE; } I2C_MUX_DEVICE;
int i2c_mux_add_device(I2C_MUX_DEVICE *dev);
I2C_MUX_DEVICE *i2c_mux_search_device(int id); I2C_MUX_DEVICE *i2c_mux_search_device(int id);
I2C_MUX_DEVICE *i2c_mux_ident_muxstring (uchar *buf); I2C_MUX_DEVICE *i2c_mux_ident_muxstring (uchar *buf);
int i2x_mux_select_mux(int bus); int i2x_mux_select_mux(int bus);