commit | 62f0704cbd355f81f9858a86560cc4fe026cd006 | [log] [tgz] |
---|---|---|
author | Matthias Fuchs <matthias.fuchs@esd-electronics.com> | Thu Mar 08 16:23:11 2007 +0100 |
committer | Stefan Roese <sr@denx.de> | Thu Mar 08 22:17:04 2007 +0100 |
tree | 20b12a8571a616a5102f521ad714efbf58e13126 | |
parent | 66067c37e2ae4c7b69c00e44f571764710217a32 [diff] [blame] |
[PATCH] 4xx: allow CONFIG_I2C_CMD_TREE without CONFIG_I2C_MULTI_BUS Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
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 @@ return 0; } +#endif /* CONFIG_I2C_MULTI_BUS */ /* TODO: add 100/400k switching */ unsigned int i2c_get_bus_speed(void) @@ -474,5 +475,4 @@ return 0; } -#endif /* CONFIG_I2C_MULTI_BUS */ #endif /* CONFIG_HARD_I2C */