Following should be fixed in your driver-core/driver-core-next.
From: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
static struct subsys_interface s3c2410a_pm_interface = {
.name = "s3c2410a_pm",
- subsys = &s3c2410a_subsys,
+ .subsys = &s3c2410a_subsys,
.add_dev = s3c2410_pm_add,
};
static __init int s3c2412_pm_init(void)
{
- return subsys_interface_register_register(&s3c2412_pm_interface);
+ return subsys_interface_register(&s3c2412_pm_interface);
}
arch_initcall(s3c2412_pm_init);
static struct subsys_interface s3c2442_clk_interface = {
.name = "s3c2442_clk",
.subsys = &s3c2442_subsys,
- .add_dev s3c2442_clk_add,
+ .add_dev = s3c2442_clk_add,
};
static __init int s3c2442_clk_init(void)
.dev_name = "s5p64x0-core",
};
-static struct device s5p64x0_subsys = {
+static struct device s5p64x0_dev = {
.bus = &s5p64x0_subsys,
};
/* set idle function */
pm_idle = s5pc100_idle;
- return device_register(&s5pc100_sys);
+ return device_register(&s5pc100_dev);
}