提交 fd03ea89 编写于 作者: F Frans Meulenbroeks 提交者: Heiko Schocher

i2c: made unused function i2c_mux_add_device static

and removed it from the .h file
Signed-off-by: NFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
上级 2c0dc990
......@@ -1357,7 +1357,7 @@ U_BOOT_CMD(
);
#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;
......
......@@ -127,8 +127,6 @@ typedef struct _mux_device {
struct _mux_device *next;
} 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_ident_muxstring (uchar *buf);
int i2x_mux_select_mux(int bus);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册