From patchwork Mon Apr 20 17:56:27 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Walmsley X-Patchwork-Id: 19037 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 n3KHukxG014976 for ; Mon, 20 Apr 2009 17:56:46 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752721AbZDTR43 (ORCPT ); Mon, 20 Apr 2009 13:56:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752857AbZDTR43 (ORCPT ); Mon, 20 Apr 2009 13:56:29 -0400 Received: from utopia.booyaka.com ([72.9.107.138]:40500 "EHLO utopia.booyaka.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752721AbZDTR42 (ORCPT ); Mon, 20 Apr 2009 13:56:28 -0400 Received: (qmail 27402 invoked by uid 526); 20 Apr 2009 17:56:27 -0000 Date: Mon, 20 Apr 2009 11:56:27 -0600 (MDT) From: Paul Walmsley To: Kalle Valo cc: linux-omap@vger.kernel.org, tony@atomide.com Subject: Re: n800 build error in clock24xx.c: 'secure_32k_ck' undeclared In-Reply-To: Message-ID: References: <873ac7ko2n.fsf@litku.valot.fi> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org On Mon, 20 Apr 2009, Paul Walmsley wrote: > On Fri, 17 Apr 2009, Kalle Valo wrote: > > > In file included from arch/arm/mach-omap2/clock24xx.c:46: > > arch/arm/mach-omap2/clock24xx.h:1801: error: 'secure_32k_ck' undeclared here (not in a function) > > > > Any hints? > > This is a bug in the version of fa9ef57a1efdd4e7c41a42db71d99b9b69e9b356 I > pushed. The new clock definition in clock24xx.h for "secure_32k_fck" > should be for "secure_32k_ck". Just talked with Tony about this; he's > going to re-pull a fixed version of that patch today. Here's the patch BTW: - Paul --- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: linux-omap-2.6/arch/arm/mach-omap2/clock24xx.h =================================================================== --- linux-omap-2.6.orig/arch/arm/mach-omap2/clock24xx.h 2009-04-20 10:42:21.000000000 -0700 +++ linux-omap-2.6/arch/arm/mach-omap2/clock24xx.h 2009-04-20 10:46:09.000000000 -0700 @@ -625,8 +625,8 @@ static struct clk func_32k_ck = { .clkdm_name = "wkup_clkdm", }; -static struct clk secure_32k_fck = { - .name = "secure_32k_fck", +static struct clk secure_32k_ck = { + .name = "secure_32k_ck", .ops = &clkops_null, .rate = 32768, .flags = RATE_FIXED,