drm: add _DRM_DRIVER flag, and re-order unload.
authorDave Airlie <airlied@redhat.com>
Sun, 16 Dec 2007 23:41:56 +0000 (09:41 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Feb 2008 05:09:39 +0000 (15:09 +1000)
commite3236a1173222ca209d20bb29f6c1cd3499aa845
tree121840ba613aaad6c5d54cc694fade494f68a83b
parent77e27e9fe5bd399c9f56b941b212a58338e94463
drm: add _DRM_DRIVER flag, and re-order unload.

Allow drivers to addmaps that won't be removed by lastclose or unload.
The unload needs to be re-ordered to avoid removing the hashs before
the driver has removed the final maps.

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm.h
drivers/char/drm/drm_drv.c
drivers/char/drm/i915_dma.c