diff options
Diffstat (limited to 'arch/arm/xen/enlighten.c')
-rw-r--r-- | arch/arm/xen/enlighten.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index d30042e39974..83d13b0d5f74 100644 --- a/arch/arm/xen/enlighten.c +++ b/arch/arm/xen/enlighten.c | |||
@@ -272,12 +272,18 @@ static int __init xen_guest_init(void) | |||
272 | if (!xen_initial_domain()) | 272 | if (!xen_initial_domain()) |
273 | xenbus_probe(NULL); | 273 | xenbus_probe(NULL); |
274 | 274 | ||
275 | return 0; | ||
276 | } | ||
277 | core_initcall(xen_guest_init); | ||
278 | |||
279 | static int __init xen_pm_init(void) | ||
280 | { | ||
275 | pm_power_off = xen_power_off; | 281 | pm_power_off = xen_power_off; |
276 | arm_pm_restart = xen_restart; | 282 | arm_pm_restart = xen_restart; |
277 | 283 | ||
278 | return 0; | 284 | return 0; |
279 | } | 285 | } |
280 | core_initcall(xen_guest_init); | 286 | subsys_initcall(xen_pm_init); |
281 | 287 | ||
282 | static irqreturn_t xen_arm_callback(int irq, void *arg) | 288 | static irqreturn_t xen_arm_callback(int irq, void *arg) |
283 | { | 289 | { |