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 <ryan@bluewatersys.com>
Acked-by: Reinhard Meyer<u-boot@emk-elektronik.de>
This commit is contained in:
Ryan Mallon 2011-01-27 08:54:15 +13:00 committed by Heiko Schocher
parent 8aba9dceeb
commit f3100ff767
1 changed files with 1 additions and 3 deletions

View File

@ -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>