drm/i915: Fix module unloading with DRM_I915_UMS=n
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 15 Nov 2013 16:16:33 +0000 (17:16 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 25 Nov 2013 08:41:03 +0000 (09:41 +0100)
commitb33ecdd1cdeb90ca07dd28d648558e87c8680443
treedd66c38eb33ac3171731978c1b48827636d1d0f2
parent6605782f79ccb3b840e302079770d24f2c1be96e
drm/i915: Fix module unloading with DRM_I915_UMS=n

Oops, makes testing early boot failures in i915.ko a bit more pain, so
let's fix it.

v2: We already have a bit of static storage to track this (Chris).

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c