summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.devel@googlemail.com>2013-10-30 15:18:18 +0100
committerAndreas Bießmann <andreas.devel@googlemail.com>2013-11-13 22:13:22 +0100
commitcb96a0a4c90e64b286d1b117374d16817b1c8521 (patch)
treea31868bb91ffcc82a4534adf41619d28f36a5ffe /drivers
parent0f1f041835d7f524fa9121b02000b0a398f01f20 (diff)
downloadtalos-obmc-uboot-cb96a0a4c90e64b286d1b117374d16817b1c8521.tar.gz
talos-obmc-uboot-cb96a0a4c90e64b286d1b117374d16817b1c8521.zip
i2c: switch from AT91 legacy to ATMEL legacy
Since the required API is gpio which is enclosed with CONFIG_ATMEL_LEGACY use that switch here. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i2c/soft_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c
index 396fea89af..dfea54ae73 100644
--- a/drivers/i2c/soft_i2c.c
+++ b/drivers/i2c/soft_i2c.c
@@ -25,7 +25,7 @@
#include <asm/io.h>
#include <asm/arch/hardware.h>
#include <asm/arch/at91_pio.h>
-#ifdef CONFIG_AT91_LEGACY
+#ifdef CONFIG_ATMEL_LEGACY
#include <asm/arch/gpio.h>
#endif
#endif
OpenPOWER on IntegriCloud