drm/kms_helper: Add a common place to call init and exit functions.
authorRafael Antognolli <rafael.antognolli@intel.com>
Thu, 21 Jan 2016 23:10:18 +0000 (15:10 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 12 Feb 2016 13:22:18 +0000 (14:22 +0100)
commit70412cfa6ddebcc01e6b01b3fccb6068e48596ac
treea06ed97f2ac7bde7acee536e7bf0656eb0c2e129
parent382ab95d1af85381d8a5dff09b16a80c7e492534
drm/kms_helper: Add a common place to call init and exit functions.

The module_init and module_exit functions will start here, and call the
subsequent init's and exit's.

v10:
 - Keep __init on drm_fb_helper init function.
 - Move MODULE_* macros to the common file.

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1453417821-2811-2-git-send-email-rafael.antognolli@intel.com
drivers/gpu/drm/Makefile
drivers/gpu/drm/drm_crtc_helper.c
drivers/gpu/drm/drm_fb_helper.c
drivers/gpu/drm/drm_kms_helper_common.c [new file with mode: 0644]
include/drm/drm_fb_helper.h