The conversion to core/driver got this check in-correct. Signed-off-by: Dave Airlie <airlied@linux.ie>