m7ul: add device guard