Skip to content

Commit 047a754

Browse files
asahilinaThomas Zimmermann
authored andcommitted
drm/shmem-helper: Revert accidental non-GPL export
The referenced commit added a wrapper for drm_gem_shmem_get_pages_sgt(), but in the process it accidentally changed the export type from GPL to non-GPL. Switch it back to GPL. Reported-by: Dmitry Osipenko <[email protected]> Fixes: ddddeda ("drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt()") Signed-off-by: Asahi Lina <[email protected]> Signed-off-by: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent c176060 commit 047a754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/drm_gem_shmem_helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ struct sg_table *drm_gem_shmem_get_pages_sgt(struct drm_gem_shmem_object *shmem)
744744

745745
return sgt;
746746
}
747-
EXPORT_SYMBOL(drm_gem_shmem_get_pages_sgt);
747+
EXPORT_SYMBOL_GPL(drm_gem_shmem_get_pages_sgt);
748748

749749
/**
750750
* drm_gem_shmem_prime_import_sg_table - Produce a shmem GEM object from

0 commit comments

Comments
 (0)