From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] Fix omap2430 clock build error Date: Mon, 13 Aug 2007 02:00:30 -0700 Message-ID: <20070813090030.GJ13948@atomide.com> References: <3B6D69C3A9EBCA4BA5DA60D913027429019C4DDE@dlee13.ent.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <3B6D69C3A9EBCA4BA5DA60D913027429019C4DDE@dlee13.ent.ti.com> 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: "Woodruff, Richard" Cc: Linux OMAP List-Id: linux-omap@vger.kernel.org * Woodruff, Richard [070810 09:51]: > This fixes a build error for 2430. fixed_div is under a 2420 only define and it should be OMAP2. > > Signed-off-by: Richard Woodruff > > diff --git a/include/asm-arm/arch-omap/clock.h b/include/asm-arm/arch-omap/clock.h > index c81f0d0..2aeca56 100644 > --- a/include/asm-arm/arch-omap/clock.h > +++ b/include/asm-arm/arch-omap/clock.h > @@ -34,7 +34,7 @@ struct clk { > void (*init)(struct clk *); > int (*enable)(struct clk *); > void (*disable)(struct clk *); > -#if defined(CONFIG_ARCH_OMAP2420) > +#if defined(CONFIG_ARCH_OMAP2) > u8 fixed_div; > #endif > }; Pushing today. Tony