add in if statement to fix complaints from gcc 4.4.3
Merge branch 'android-msm-2.6.35' of https://github.com/PecanCM/lge-kernel-pecan into android-msm-2.6.35