From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [PATCH RT 8/6] [ARM, WATCHDOG] davinci: include mach/timex.h in davinci_wdt.c Date: Mon, 10 Aug 2009 23:02:34 +0100 Message-ID: <20090810220234.GD27147@n2100.arm.linux.org.uk> References: <20090807203939.GA19374@pengutronix.de> <1249810600-21946-1-git-send-email-u.kleine-koenig@pengutronix.de> <1249810600-21946-2-git-send-email-u.kleine-koenig@pengutronix.de> <20090809094306.GA26591@n2100.arm.linux.org.uk> <87iqgvk43c.fsf@deeprootsystems.com> <20090810172637.GC27147@n2100.arm.linux.org.uk> <87zla7fkio.fsf@deeprootsystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Thomas Gleixner , LKML , rt-users , Wim Van Sebroeck , linux-arm-kernel@lists.arm.linux.org.uk To: Kevin Hilman Return-path: Received: from caramon.arm.linux.org.uk ([78.32.30.218]:48830 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753934AbZHJWC5 (ORCPT ); Mon, 10 Aug 2009 18:02:57 -0400 Content-Disposition: inline In-Reply-To: <87zla7fkio.fsf@deeprootsystems.com> Sender: linux-rt-users-owner@vger.kernel.org List-ID: On Mon, Aug 10, 2009 at 02:04:31PM -0700, Kevin Hilman wrote: > @@ -86,6 +88,9 @@ static void wdt_enable(void) > { > u32 tgcr; > u32 timer_margin; > + u32 wdt_freq; > + > + wdt_freq = clk_get_rate(wdt_clk); Much better - and only a minor nit which doesn't deserve a repost - wdt_freq should probably match the return type of clk_get_rate. IOW unsigned long.