From patchwork Thu Aug 4 18:02:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjarne Steinsbo X-Patchwork-Id: 1036612 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p74I1u5r007553 for ; Thu, 4 Aug 2011 18:02:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754686Ab1HDSCF (ORCPT ); Thu, 4 Aug 2011 14:02:05 -0400 Received: from mail-vw0-f46.google.com ([209.85.212.46]:65101 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751856Ab1HDSCD (ORCPT ); Thu, 4 Aug 2011 14:02:03 -0400 Received: by mail-vw0-f46.google.com with SMTP id 1so1319292vws.19 for ; Thu, 04 Aug 2011 11:02:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=HB2Std1TqxskgV/Eaj6TSTyJdrLbLHBbrmk9vXzofdo=; b=skfYWGZ5WpLmRxhzcKme3qrCGmSMPWSVZLejJg2qZ/lNhWrHfwoqnsPM3kQSnJIPCR hkxkq+yw3GClW7vKwyzK7uHjer9mJU7pmNQA/ew3Wz/J912K9iVZv6SJHFiFaEX3XdAc 6ZpSVDeq2rVwLL4yPuY1t09b3EQ/CyxEEZwn0= MIME-Version: 1.0 Received: by 10.52.180.194 with SMTP id dq2mr1251194vdc.105.1312480922885; Thu, 04 Aug 2011 11:02:02 -0700 (PDT) Received: by 10.220.1.196 with HTTP; Thu, 4 Aug 2011 11:02:02 -0700 (PDT) Date: Thu, 4 Aug 2011 20:02:02 +0200 Message-ID: Subject: [PATCH 1/4] OMAP4: clockdata: Make compiler shut up about possible uninitialized variable From: Bjarne Steinsbo To: linux-omap@vger.kernel.org Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Thu, 04 Aug 2011 18:02:06 +0000 (UTC) Stop `warning: 'cpu_clkflg' may be used uninitialized in this function' from compiler. --- arch/arm/mach-omap2/clock44xx_data.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c index 2af0e3f..a9c19c8 100644 --- a/arch/arm/mach-omap2/clock44xx_data.c +++ b/arch/arm/mach-omap2/clock44xx_data.c @@ -3368,7 +3368,7 @@ static struct omap_clk omap44xx_clks[] = { int __init omap4xxx_clk_init(void) { struct omap_clk *c; - u32 cpu_clkflg; + u32 cpu_clkflg = 0; if (cpu_is_omap44xx()) { cpu_mask = RATE_IN_4430;