Skip to content

Commit

Permalink
arm: fix up some samsung merge sysdev conversion problems
Browse files Browse the repository at this point in the history
Following should be fixed in your driver-core/driver-core-next.

From: Kukjin Kim <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
kgene authored and gregkh committed Jan 6, 2012
1 parent eea915b commit ea04018
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2410/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ arch_initcall(s3c2410_pm_drvinit);

static struct subsys_interface s3c2410a_pm_interface = {
.name = "s3c2410a_pm",
subsys = &s3c2410a_subsys,
.subsys = &s3c2410a_subsys,
.add_dev = s3c2410_pm_add,
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2412/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static struct subsys_interface s3c2412_pm_interface = {

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);
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2440/s3c2442.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ static int s3c2442_clk_add(struct device *dev)
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)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s5p64x0/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ struct bus_type s5p64x0_subsys = {
.dev_name = "s5p64x0-core",
};

static struct device s5p64x0_subsys = {
static struct device s5p64x0_dev = {
.bus = &s5p64x0_subsys,
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s5pc100/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,5 @@ int __init s5pc100_init(void)
/* set idle function */
pm_idle = s5pc100_idle;

return device_register(&s5pc100_sys);
return device_register(&s5pc100_dev);
}

0 comments on commit ea04018

Please sign in to comment.