Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308419
b: refs/heads/master
c: 9ee6af9
h: refs/heads/master
i:
  308417: a61e878
  308415: 9a0ebec
v: v3
  • Loading branch information
Thomas Abraham authored and Kukjin Kim committed May 15, 2012
1 parent 2a717ee commit d7e310b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 24 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3a08f7f85a885da15d47ad92464f829535aff7cb
refs/heads/master: 9ee6af9c3fad48cddc0684d0c77d3ea1329e10a1
27 changes: 6 additions & 21 deletions trunk/arch/arm/mach-exynos/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,30 +565,18 @@ void __init exynos5_init_irq(void)
s5p_init_irq(NULL, 0);
}

struct bus_type exynos4_subsys = {
.name = "exynos4-core",
.dev_name = "exynos4-core",
};

struct bus_type exynos5_subsys = {
.name = "exynos5-core",
.dev_name = "exynos5-core",
struct bus_type exynos_subsys = {
.name = "exynos-core",
.dev_name = "exynos-core",
};

static struct device exynos4_dev = {
.bus = &exynos4_subsys,
};

static struct device exynos5_dev = {
.bus = &exynos5_subsys,
.bus = &exynos_subsys,
};

static int __init exynos_core_init(void)
{
if (soc_is_exynos5250())
return subsys_system_register(&exynos5_subsys, NULL);
else
return subsys_system_register(&exynos4_subsys, NULL);
return subsys_system_register(&exynos_subsys, NULL);
}
core_initcall(exynos_core_init);

Expand Down Expand Up @@ -675,10 +663,7 @@ static int __init exynos_init(void)
{
printk(KERN_INFO "EXYNOS: Initializing architecture\n");

if (soc_is_exynos5250())
return device_register(&exynos5_dev);
else
return device_register(&exynos4_dev);
return device_register(&exynos4_dev);
}

/* uart registration process */
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-exynos/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ static void exynos4_restore_pll(void)

static struct subsys_interface exynos4_pm_interface = {
.name = "exynos4_pm",
.subsys = &exynos4_subsys,
.subsys = &exynos_subsys,
.add_dev = exynos4_pm_add,
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/plat-samsung/include/plat/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ extern struct bus_type s3c2443_subsys;
extern struct bus_type s3c6410_subsys;
extern struct bus_type s5p64x0_subsys;
extern struct bus_type s5pv210_subsys;
extern struct bus_type exynos4_subsys;
extern struct bus_type exynos_subsys;

extern void (*s5pc1xx_idle)(void);

Expand Down

0 comments on commit d7e310b

Please sign in to comment.