drm/tinydrm: Fix drm_driver.fops.owner
authorNoralf Trønnes <noralf@tronnes.org>
Sun, 26 Mar 2017 14:25:29 +0000 (16:25 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 27 Mar 2017 06:41:35 +0000 (08:41 +0200)
commit79b85d2b7e5e61659deca3ec064e8c0245250a68
tree0807b76b2d8f4694a7731714f8bce4051eb11324
parent187697a4544c20d4b77193275a7e10f85506d14d
drm/tinydrm: Fix drm_driver.fops.owner

drm_driver.fops can't be shared since the owner then becomes tinydrm.ko.
Move the fops declaration to the driver.

v2: Use DEFINE_DRM_GEM_CMA_FOPS

Reported-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170326142529.16938-1-noralf@tronnes.org
drivers/gpu/drm/tinydrm/core/tinydrm-core.c
drivers/gpu/drm/tinydrm/mi0283qt.c
include/drm/tinydrm/tinydrm.h