Added CONFIG_HAS_EARLYSUSPEND