From patchwork Wed Jan 26 19:54:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Mallon X-Patchwork-Id: 80548 X-Patchwork-Delegate: hs@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 2ABDF1007D1 for ; Thu, 27 Jan 2011 06:54:15 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 32D3D280AA; Wed, 26 Jan 2011 20:54:12 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p2H5tbHKzkz6; Wed, 26 Jan 2011 20:54:11 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4D86F280A1; Wed, 26 Jan 2011 20:54:10 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1F1F6280A1 for ; Wed, 26 Jan 2011 20:54:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9bG56MfnFwD8 for ; Wed, 26 Jan 2011 20:54:06 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from hayes.bluewaternz.com (mail.bluewatersys.com [202.124.120.130]) by theia.denx.de (Postfix) with ESMTPS id 13E4C2809F for ; Wed, 26 Jan 2011 20:54:02 +0100 (CET) Received: (qmail 19580 invoked by uid 89); 26 Jan 2011 20:08:45 -0000 Received: from unknown (HELO localhost.localdomain) (ryan@192.168.2.96) by 0 with ESMTPA; 26 Jan 2011 20:08:45 -0000 From: Ryan Mallon To: u-boot@emk-elektronik.de, hs@denx.de Date: Thu, 27 Jan 2011 08:54:15 +1300 Message-Id: <1296071655-24247-1-git-send-email-ryan@bluewatersys.com> X-Mailer: git-send-email 1.5.5.1 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH] Fix at91 includes in soft_i2c driver X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Make at91 header includes in soft_i2c depend only on CONFIG_AT91FAMILY rather than individual SoCs. Signed-off-by: Ryan Mallon --- 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 #include #endif -#if defined(CONFIG_AT91RM9200) || \ - defined(CONFIG_AT91SAM9260) || defined(CONFIG_AT91SAM9261) || \ - defined(CONFIG_AT91SAM9263) +#if defined(CONFIG_AT91FAMILY) #include #include #include