From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754656AbYISTFE (ORCPT ); Fri, 19 Sep 2008 15:05:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752342AbYISTEw (ORCPT ); Fri, 19 Sep 2008 15:04:52 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:58765 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753405AbYISTEv (ORCPT ); Fri, 19 Sep 2008 15:04:51 -0400 Date: Fri, 19 Sep 2008 20:04:32 +0100 From: Russell King - ARM Linux To: Felipe Balbi Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Tony Lindgren , Wim Van Sebroeck , Andrew Morton , "George G. Davis" Subject: Re: [PATCH 5/5] watchdog: introduce platform_data and remove cpu conditional code Message-ID: <20080919190431.GA9675@flint.arm.linux.org.uk> References: <1221820359-8943-1-git-send-email-felipe.balbi@nokia.com> <1221820359-8943-2-git-send-email-felipe.balbi@nokia.com> <1221820359-8943-3-git-send-email-felipe.balbi@nokia.com> <1221820359-8943-4-git-send-email-felipe.balbi@nokia.com> <1221820359-8943-5-git-send-email-felipe.balbi@nokia.com> <1221820359-8943-6-git-send-email-felipe.balbi@nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1221820359-8943-6-git-send-email-felipe.balbi@nokia.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 19, 2008 at 01:32:39PM +0300, Felipe Balbi wrote: > @@ -469,17 +515,26 @@ static struct platform_device omap_wdt_device = { > > static void omap_init_wdt(void) > { > - if (cpu_is_omap16xx()) > + if (cpu_is_omap16xx()) { > + omap_wdt_pdata.fck = "armwdt_ck"; > wdt_resources[0].start = 0xfffeb000; > - else if (cpu_is_omap2420()) > + } else if (cpu_is_omap2420()) { > + omap_wdt_pdata.fck = "mpu_wdt_ick"; > + omap_wdt_pdata.ick = "mpu_wdt_fck"; What happened to leaving this stuff inside omap_wdt.c as I said during the previous review? I really don't want to see such cleanups when the real answer is to fix the OMAP clock API implementation. It just makes for more unnecessary noise when doing this, and then yet more noise when we fix the OMAP clock API. Please get rid of this and leave the clock naming crap inside omap_wdt.c.