fix build without earlysuspend

idea is taken here -
https://github.com/rmbq/android_kernel_htc_msm8960/commit/132034f9ae4a63eb87f5dd7cfa518f9cdbdc8d52