fix compile error with unified devices
-all credit to gimmeitorilltell

Change-Id: Ie02ee3b4e2aa232ea099a55903db6c24e2c2c318