]> git.sur5r.net Git - u-boot/commit
soft_i2c.c compiler/linker error
authorJens Scharsig <esw@bus-elektronik.de>
Tue, 31 Mar 2009 06:18:29 +0000 (08:18 +0200)
committerHeiko Schocher <hs@denx.de>
Tue, 31 Mar 2009 06:29:50 +0000 (08:29 +0200)
commitd144f94d590b5190a9963bd0f2026b2a7ce67eda
treea35ca2d60b966ef5ed4158a3c8d234bc9e3b7d4e
parent2344bb8de2354101a8264c2123303c9d8d2aed3c
soft_i2c.c compiler/linker error

This patch fix the compiler/linker errors

common/cmd_i2c.c:1252: undefined reference to `i2c_get_bus_speed'
common/cmd_i2c.c:1256: undefined reference to `i2c_set_bus_speed'

if board use CONFIG_I2C_CMD_TREE and CONFIG_I2C_MULTI_BUS is not
uesd/undef (wrong define order)

and

removes additional empty lines

Signed-off-by: Jens Scharsig <esw@bus-elektronik.de>
drivers/i2c/soft_i2c.c