/* omap_pm_enter - Actually enter a sleep state. @state: State we're entering.  */
static int omap_pm_enter(suspend_state_t state)
/* omap_pm_enter - Actually enter a sleep state. @state: State we're entering.  */
static int omap_pm_enter(suspend_state_t state)
{
	switch (state)
	{
	case PM_SUSPEND_STANDBY:
	case PM_SUSPEND_MEM:
		omap1_pm_suspend();
		break;
	default:
		return -EINVAL;
	}
	return 0;
}