add QCOM_HARDWARE ifdef

Change-Id: I81660797934d25730bd9679b3f51a1dc522b57ef