static __init int ux500_suspend_init(void) { suspend_wakeups = PRCMU_WAKEUP(ABB) | PRCMU_WAKEUP(RTC); running_wakeups = (PRCMU_WAKEUP(ARM) | PRCMU_WAKEUP(RTC) | PRCMU_WAKEUP(ABB)); ux500_suspend_dbg_init(); prcmu_qos_add_requirement(PRCMU_QOS_ARM_KHZ, "suspend", PRCMU_QOS_DEFAULT_VALUE); suspend_set_ops(&ux500_suspend_ops); return 0; }
static __init int ux500_suspend_init(void) { ux500_suspend_dbg_init(); suspend_set_ops(&ux500_suspend_ops); return 0; }