fix compile error with unified devices

Change-Id: I984e30301c6e80912acb84f10dae384b6759d489