From: Ryan Mallon Date: Wed, 26 Jan 2011 19:54:15 +0000 (+1300) Subject: Fix at91 includes in soft_i2c driver X-Git-Tag: v2011.03-rc1~6^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3100ff767c210b01a0b4595b376b9289550b37f;p=platform%2Fkernel%2Fu-boot.git Fix at91 includes in soft_i2c driver Make at91 header includes in soft_i2c depend only on CONFIG_AT91FAMILY rather than individual SoCs. Signed-off-by: Ryan Mallon Acked-by: Reinhard Meyer --- 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 #include #endif -#if defined(CONFIG_AT91RM9200) || \ - defined(CONFIG_AT91SAM9260) || defined(CONFIG_AT91SAM9261) || \ - defined(CONFIG_AT91SAM9263) +#if defined(CONFIG_AT91FAMILY) #include #include #include