diff options
author | Matthias Fuchs <matthias.fuchs@esd-electronics.com> | 2007-03-08 16:23:11 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-03-08 22:17:04 +0100 |
commit | ced5b9029043397348cdc88e0cfcd6b1f629250b (patch) | |
tree | 20b12a8571a616a5102f521ad714efbf58e13126 /cpu/ppc4xx/i2c.c | |
parent | d8a8ea5c476d37006fc7f85b7f903142795c8b14 (diff) | |
download | u-boot-imx-ced5b9029043397348cdc88e0cfcd6b1f629250b.zip u-boot-imx-ced5b9029043397348cdc88e0cfcd6b1f629250b.tar.gz u-boot-imx-ced5b9029043397348cdc88e0cfcd6b1f629250b.tar.bz2 |
[PATCH] 4xx: allow CONFIG_I2C_CMD_TREE without CONFIG_I2C_MULTI_BUS
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Diffstat (limited to 'cpu/ppc4xx/i2c.c')
-rw-r--r-- | cpu/ppc4xx/i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/ppc4xx/i2c.c b/cpu/ppc4xx/i2c.c index 0b056a1..8f4da86 100644 --- a/cpu/ppc4xx/i2c.c +++ b/cpu/ppc4xx/i2c.c @@ -460,6 +460,7 @@ int i2c_set_bus_num(unsigned int bus) return 0; } +#endif /* CONFIG_I2C_MULTI_BUS */ /* TODO: add 100/400k switching */ unsigned int i2c_get_bus_speed(void) @@ -474,5 +475,4 @@ int i2c_set_bus_speed(unsigned int speed) return 0; } -#endif /* CONFIG_I2C_MULTI_BUS */ #endif /* CONFIG_HARD_I2C */ |