From patchwork Wed Oct 28 13:09:42 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanjeev Premi X-Patchwork-Id: 56283 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9SD9mht010921 for ; Wed, 28 Oct 2009 13:09:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753507AbZJ1NJm (ORCPT ); Wed, 28 Oct 2009 09:09:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753455AbZJ1NJm (ORCPT ); Wed, 28 Oct 2009 09:09:42 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:53845 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753447AbZJ1NJl (ORCPT ); Wed, 28 Oct 2009 09:09:41 -0400 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id n9SD9hbs030085 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 28 Oct 2009 08:09:46 -0500 Received: from localhost.localdomain (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id n9SD9g4g015060; Wed, 28 Oct 2009 18:39:43 +0530 (IST) From: Sanjeev Premi To: linux-omap@vger.kernel.org Cc: Sanjeev Premi Subject: [PATCH] omap3: Fix macro definitions Date: Wed, 28 Oct 2009 18:39:42 +0530 Message-Id: <1256735382-18709-1-git-send-email-premi@ti.com> X-Mailer: git-send-email 1.6.2.2 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h index 7cb0556..f4f7a2f 100644 --- a/arch/arm/plat-omap/include/plat/cpu.h +++ b/arch/arm/plat-omap/include/plat/cpu.h @@ -381,16 +381,16 @@ IS_OMAP_TYPE(3430, 0x3430) # undef cpu_is_omap3525 # undef cpu_is_omap3530 # define cpu_is_omap3430() is_omap3430() -# define cpu_is_omap3503 (cpu_is_omap3430() && \ +# define cpu_is_omap3503() (cpu_is_omap3430() && \ (!omap3_has_iva()) && \ (!omap3_has_sgx())) -# define cpu_is_omap3515 (cpu_is_omap3430() && \ +# define cpu_is_omap3515() (cpu_is_omap3430() && \ (omap3_has_iva()) && \ (!omap3_has_sgx())) -# define cpu_is_omap3525 (cpu_is_omap3430() && \ +# define cpu_is_omap3525() (cpu_is_omap3430() && \ (omap3_has_sgx()) && \ (!omap3_has_iva())) -# define cpu_is_omap3530 (cpu_is_omap3430()) +# define cpu_is_omap3530() (cpu_is_omap3430()) # undef cpu_is_omap3630 # define cpu_is_omap3630() is_omap363x() #endif