diff options
Diffstat (limited to 'arch/arm/mach-omap2/pmu.c')
-rw-r--r-- | arch/arm/mach-omap2/pmu.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/pmu.c b/arch/arm/mach-omap2/pmu.c index eb78ae7a3464..9debf822687c 100644 --- a/arch/arm/mach-omap2/pmu.c +++ b/arch/arm/mach-omap2/pmu.c | |||
@@ -48,8 +48,7 @@ static int __init omap2_init_pmu(unsigned oh_num, char *oh_names[]) | |||
48 | } | 48 | } |
49 | } | 49 | } |
50 | 50 | ||
51 | omap_pmu_dev = omap_device_build_ss(dev_name, -1, oh, oh_num, NULL, 0, | 51 | omap_pmu_dev = omap_device_build_ss(dev_name, -1, oh, oh_num, NULL, 0); |
52 | NULL, 0, 0); | ||
53 | WARN(IS_ERR(omap_pmu_dev), "Can't build omap_device for %s.\n", | 52 | WARN(IS_ERR(omap_pmu_dev), "Can't build omap_device for %s.\n", |
54 | dev_name); | 53 | dev_name); |
55 | 54 | ||
@@ -89,4 +88,4 @@ static int __init omap_init_pmu(void) | |||
89 | 88 | ||
90 | return omap2_init_pmu(oh_num, oh_names); | 89 | return omap2_init_pmu(oh_num, oh_names); |
91 | } | 90 | } |
92 | subsys_initcall(omap_init_pmu); | 91 | omap_subsys_initcall(omap_init_pmu); |