]> 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)
commitf52b7f7f1805604fce3ec4bf0a193c728e06cf8c
treea49755ebe6640e63d9c30d0e3df608f1ad8c26b8
parentbc98bc11bfc229e458277cf6d82e26a9ccf5d3ae
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