suppress warning when not building kernel

Change-Id: I19e529b7b0d4539bf4e486ba3031a6477ea841d1