]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Introduce drm_dev_set_unique()
authorThierry Reding <treding@nvidia.com>
Fri, 11 Apr 2014 13:23:00 +0000 (15:23 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 5 Jun 2014 21:14:32 +0000 (23:14 +0200)
commit74c831b19524bbe61743e846ec5a7c79bf3979a1
treea49755ebe6640e63d9c30d0e3df608f1ad8c26b8
parent535d028931a63a153a6cef955e09a0d25ef4f972
drm: Introduce drm_dev_set_unique()

Add a helper function that allows drivers to statically set the unique
name of the device. This will allow platform and USB drivers to get rid
of their DRM bus implementations and directly use drm_dev_alloc() and
drm_dev_register().

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/drm_ioctl.c
drivers/gpu/drm/drm_stub.c
include/drm/drmP.h