From patchwork Tue Feb 23 03:51:09 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Mundt X-Patchwork-Id: 81381 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1N3pcwG010741 for ; Tue, 23 Feb 2010 03:51:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753360Ab0BWDve (ORCPT ); Mon, 22 Feb 2010 22:51:34 -0500 Received: from 124x34x33x190.ap124.ftth.ucom.ne.jp ([124.34.33.190]:41092 "EHLO master.linux-sh.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753349Ab0BWDve (ORCPT ); Mon, 22 Feb 2010 22:51:34 -0500 Received: from localhost (unknown [127.0.0.1]) by master.linux-sh.org (Postfix) with ESMTP id E9A1463758; Tue, 23 Feb 2010 03:51:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at linux-sh.org Received: from master.linux-sh.org ([127.0.0.1]) by localhost (master.linux-sh.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5+Di1Th8-cUZ; Tue, 23 Feb 2010 12:51:09 +0900 (JST) Received: by master.linux-sh.org (Postfix, from userid 500) id 6C4DD6375A; Tue, 23 Feb 2010 12:51:09 +0900 (JST) Date: Tue, 23 Feb 2010 12:51:09 +0900 From: Paul Mundt To: Rafael Ignacio Zurita Cc: linux-sh@vger.kernel.org Subject: Re: Problem when testing current git on sh3 + hp6xx Message-ID: <20100223035108.GC4356@linux-sh.org> References: <20100223025042.GA28763@rafazurita.homelinux.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20100223025042.GA28763@rafazurita.homelinux.net> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 23 Feb 2010 03:51:38 +0000 (UTC) diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c index 93c2322..961f5b5 100644 --- a/drivers/clocksource/sh_tmu.c +++ b/drivers/clocksource/sh_tmu.c @@ -323,15 +323,15 @@ static void sh_tmu_register_clockevent(struct sh_tmu_priv *p, ced->set_next_event = sh_tmu_clock_event_next; ced->set_mode = sh_tmu_clock_event_mode; + pr_info("sh_tmu: %s used for clock events\n", ced->name); + clockevents_register_device(ced); + ret = setup_irq(p->irqaction.irq, &p->irqaction); if (ret) { pr_err("sh_tmu: failed to request irq %d\n", p->irqaction.irq); return; } - - pr_info("sh_tmu: %s used for clock events\n", ced->name); - clockevents_register_device(ced); } static int sh_tmu_register(struct sh_tmu_priv *p, char *name,