From patchwork Wed Mar 11 04:26:49 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 11041 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 n2B4Qsb6020919 for ; Wed, 11 Mar 2009 04:26:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750799AbZCKE0x (ORCPT ); Wed, 11 Mar 2009 00:26:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750917AbZCKE0x (ORCPT ); Wed, 11 Mar 2009 00:26:53 -0400 Received: from mail-gx0-f167.google.com ([209.85.217.167]:62250 "EHLO mail-gx0-f167.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750799AbZCKE0w (ORCPT ); Wed, 11 Mar 2009 00:26:52 -0400 Received: by gxk11 with SMTP id 11so1712398gxk.13 for ; Tue, 10 Mar 2009 21:26:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=jsZkfKTaqmwOF1wmgfcxXD3TOSzLusfhc+YO/68dEjg=; b=G8F+c/Y0Ep5sBdgeEg6US0mnpTpDC6gDUt3qNz9st6kKGoEUiksH0+z0Gidpwm6ByB ORRiftn9BhgX1+7HE7fk+/AEudooKOvD0p+5Yw0ua4IqC3V+vnx+FFbuWxPBmyQENjIU 799B3WKdS2n3ROT8DBNSqjnB3b0KCVE5gnhR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=k/B7Z45hBK2O/6Ik/mwG8+DFR2zD86hq+m16Hc1S5dtnlDHrEYhiwCREQnSsErb8FQ cvAkOBoU7fK56xBeVkfGsGd2p3EcogKATd4xhfIisFByZ7zKr9PNu48hICOy0N8nhvEZ FT3Ono+TXASzDnKp4cSBSLX5EGV4njYtAfpd4= MIME-Version: 1.0 Received: by 10.231.30.67 with SMTP id t3mr1913151ibc.21.1236745609508; Tue, 10 Mar 2009 21:26:49 -0700 (PDT) In-Reply-To: <49B668F6.3020405@st.com> References: <20090306064156.27281.35572.sendpatchset@rx1.opensource.se> <49B0CB82.7030708@st.com> <49B0F56F.2090806@st.com> <49B4E982.4060107@st.com> <49B668F6.3020405@st.com> Date: Wed, 11 Mar 2009 13:26:49 +0900 Message-ID: Subject: Re: [PATCH] sh: hibernation support From: Magnus Damm To: Francesco VIRLINZI Cc: linux-sh@vger.kernel.org, lethal@linux-sh.org Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org Hi Francesco, On Tue, Mar 10, 2009 at 10:19 PM, Francesco VIRLINZI wrote: > Hi Magnus > In the clock framework I would propose the attached solution Thanks for your help! I tested your patch but I need the attached fix. Can you please include my fix and resubmit inline? Feel free to add an ack from me. Thanks! / magnus --- 0003/arch/sh/kernel/cpu/clock.c +++ work/arch/sh/kernel/cpu/clock.c 2009-03-11 12:36:44.000000000 +0900 @@ -369,7 +369,7 @@ static int clks_resume(struct sys_device } static struct sysdev_class clks_class = { - .kset.kobj.name = "clks", + .name = "clks", }; static struct sysdev_driver clks_driver = { @@ -405,10 +405,10 @@ int __init clk_init(void) static int __init clk_sysdev_init(void) { - sysdev_class_register(&clks_class); sysdev_driver_register(&clks_class, &clks_driver); sysdev_register(&clks_dev); + return 0; } subsys_initcall(clk_sysdev_init);