All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Fix at91 includes in soft_i2c driver
@ 2011-01-26 19:54 Ryan Mallon
  2011-01-27  6:30 ` Heiko Schocher
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan Mallon @ 2011-01-26 19:54 UTC (permalink / raw)
  To: u-boot

Make at91 header includes in soft_i2c depend only on CONFIG_AT91FAMILY
rather than individual SoCs.

Signed-off-by: Ryan Mallon <ryan@bluewatersys.com>
---
 drivers/i2c/soft_i2c.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c
index 1a1809a..69b5f42 100644
--- a/drivers/i2c/soft_i2c.c
+++ b/drivers/i2c/soft_i2c.c
@@ -30,9 +30,7 @@
 #include <ioports.h>
 #include <asm/io.h>
 #endif
-#if defined(CONFIG_AT91RM9200) || \
-	defined(CONFIG_AT91SAM9260) ||  defined(CONFIG_AT91SAM9261) || \
-	defined(CONFIG_AT91SAM9263)
+#if defined(CONFIG_AT91FAMILY)
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_pio.h>
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] Fix at91 includes in soft_i2c driver
  2011-01-26 19:54 [U-Boot] [PATCH] Fix at91 includes in soft_i2c driver Ryan Mallon
@ 2011-01-27  6:30 ` Heiko Schocher
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Schocher @ 2011-01-27  6:30 UTC (permalink / raw)
  To: u-boot

Hello Ryan,

Ryan Mallon wrote:
> Make at91 header includes in soft_i2c depend only on CONFIG_AT91FAMILY
> rather than individual SoCs.
> 
> Signed-off-by: Ryan Mallon <ryan@bluewatersys.com>
> ---
>  drivers/i2c/soft_i2c.c |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)

Added to u-boot-i2c with the Acked-by from
Reinhard Meyer<u-boot@emk-elektronik.de>

Thanks!
bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-27  6:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-26 19:54 [U-Boot] [PATCH] Fix at91 includes in soft_i2c driver Ryan Mallon
2011-01-27  6:30 ` Heiko Schocher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.