Re: [PATCH] sh: hibernation support

Magnus Damm
2009-03-11T04:26:49Z

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

Hi Francesco,

On Tue, Mar 10, 2009 at 10:19 PM, Francesco VIRLINZI
<francesco.virlinzi@st.com> 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

[-- Attachment #2: 0003-sh_clk-Added-clks-sysdevice-to-support-hibernation-fix.patch --]
[-- Type: text/x-patch, Size: 583 bytes --]

--- 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);