]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
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)
committerKamal Mostafa <kamal@canonical.com>
Wed, 13 Jul 2016 15:59:30 +0000 (08:59 -0700)
commit06da671d0030d45e5f6bd594fc6bdf5be89b48c1
treef6ee9ea0817029e8360cefb0d4717a1b258b8560
parent5956ec5fb945828a6d0d5ccb1d38d043953e1f8b
drm/kms_helper: Add a common place to call init and exit functions.

BugLink: http://bugs.launchpad.net/bugs/1599109
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
(cherry picked from commit 70412cfa6ddebcc01e6b01b3fccb6068e48596ac)
Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.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