Wrap #ifdef CONFIG_HAS_EARLYSUSPEND around early_suspend (struct
early_suspend).