summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-03-26 09:46:42 +0100
committerHeiko Schocher <hs@denx.de>2010-03-29 13:29:12 +0200
commitfd03ea89641d6f6ade6d1a8580c1bb9f52b8542c (patch)
tree830b1a764e1f783fb54cebfd4fda58acb94ea9cd /common
parent2c0dc990202c69a6231122ec2463c4e3076a16f3 (diff)
downloadu-boot-imx-fd03ea89641d6f6ade6d1a8580c1bb9f52b8542c.zip
u-boot-imx-fd03ea89641d6f6ade6d1a8580c1bb9f52b8542c.tar.gz
u-boot-imx-fd03ea89641d6f6ade6d1a8580c1bb9f52b8542c.tar.bz2
i2c: made unused function i2c_mux_add_device static
and removed it from the .h file Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c
index e98b35c..8b9c2c9 100644
--- a/common/cmd_i2c.c
+++ b/common/cmd_i2c.c
@@ -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;