From: David Herrmann Date: Wed, 23 Jul 2014 10:29:56 +0000 (+0200) Subject: drm: move module initialization to drm_stub.c X-Git-Tag: omap-for-v3.17/fixes-against-rc2~125^2~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b7199fe9840737397d335922033aa2c3cca92c6;p=pandora-kernel.git drm: move module initialization to drm_stub.c Most of the new DRM management functions are nowadays in drm_stub.c. By moving the core module initialization to drm_stub.c we can make several global variables static and keep the stub-open helper local. The core files now look like this: drm_stub.c: Core management drm_drv.c: Ioctl dispatcher drm_ioctl.c: Actual ioctl backends drm_fops.c: Char-dev file-operations A follow-up patch will move what is left from drm_drv.c into drm_ioctl.c. Acked-by: Daniel Vetter Reviewed-by: Alex Deucher Signed-off-by: David Herrmann --- Reading git-diff-tree failed