sweep2wake: add ifndef for earlysuspend