From: Arnd Bergmann Date: Thu, 25 Apr 2013 17:28:52 +0000 (+0200) Subject: drm: export drm_vm_open_locked X-Git-Tag: upstream/snapshot3+hdmi~5059^2~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d50289958076f7b2dd0f775341807da1e953f587;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git drm: export drm_vm_open_locked The EXYNOS DRM driver uses drm_vm_open_locked in its mmap() function, and it can be built as a loadable module, which currently fails. This exports the symbol from the DRM core to avoid ERROR: "drm_vm_open_locked" [drivers/gpu/drm/exynos/exynosdrm.ko] undefined! Signed-off-by: Arnd Bergmann Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/drm_vm.c b/drivers/gpu/drm/drm_vm.c index db7bd29..1d4f7c9 100644 --- a/drivers/gpu/drm/drm_vm.c +++ b/drivers/gpu/drm/drm_vm.c @@ -422,6 +422,7 @@ void drm_vm_open_locked(struct drm_device *dev, list_add(&vma_entry->head, &dev->vmalist); } } +EXPORT_SYMBOL_GPL(drm_vm_open_locked); static void drm_vm_open(struct vm_area_struct *vma) {