fix build on non-QCOM_BSP

This reverts commit 4989f557c92c847705b8d03f4421bea5d0de6669
for non-QCOM_BSP.