drm: export drm_vm_open_locked
authorArnd Bergmann <arnd@arndb.de>
Thu, 25 Apr 2013 17:28:52 +0000 (19:28 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 26 Apr 2013 00:20:00 +0000 (10:20 +1000)
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 <arnd@arndb.de>
Cc: Inki Dae <inki.dae@samsung.com>
Cc: Joonyoung Shim <jy0922.shim@samsung.com>
Cc: Seung-Woo Kim <sw0312.kim@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_vm.c

index db7bd292410bad8e1c2e39539e2ffa5ea730501f..1d4f7c9fe661896ba02be00083495e3a221a2214 100644 (file)
@@ -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)
 {