From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] Fix cpu_is_omap343x() Date: Wed, 5 Dec 2007 15:10:41 -0800 Message-ID: <20071205231041.GE4105@atomide.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: Paul Walmsley Cc: linux-omap@vger.kernel.org, linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org * Paul Walmsley [071128 17:21]: > > cpu_is_omap343x() is missing its setup code, and returns 0 on all platforms - > including OMAP343x. > > Signed-off-by: Paul Walmsley > > --- > include/asm-arm/arch-omap/cpu.h | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > Index: linux-omap/include/asm-arm/arch-omap/cpu.h > =================================================================== > --- linux-omap.orig/include/asm-arm/arch-omap/cpu.h 2007-11-23 17:46:16.000000000 -0700 > +++ linux-omap/include/asm-arm/arch-omap/cpu.h 2007-11-28 17:59:03.000000000 -0700 > @@ -122,6 +122,7 @@ > #define cpu_is_omap24xx() 0 > #define cpu_is_omap242x() 0 > #define cpu_is_omap243x() 0 > +#define cpu_is_omap34xx() 0 > #define cpu_is_omap343x() 0 > > #if defined(MULTI_OMAP1) > @@ -160,9 +161,9 @@ > # endif > # if defined(CONFIG_ARCH_OMAP34XX) > # undef cpu_is_omap34xx > +# undef cpu_is_omap343x > # define cpu_is_omap34xx() 1 > -# else > -# define cpu_is_omap34xx() 0 > +# define cpu_is_omap343x() is_omap343x() > # endif > #endif Just for reference, this is already applied in the later cpu.h patch. Regards, Tony