Declare dummy lightsensor function when not using CM3629 sensor
Do not compile msm_serial_hs_brcm when not building an HTC kernel
Disable unused functions on restart-apq8064 when not using HTC devicE