]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm: add convenience function to create an enum property
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 6 Feb 2012 09:58:17 +0000 (10:58 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 9 Feb 2012 10:15:18 +0000 (10:15 +0000)
commit4a67d39190315558631d944b1cea4466ed4c86d8
tree1d90ec7e35c2f6048bf38ba3dfcb838d9df52a16
parent198ceac091049003ffcc4b7cda76785510fc3b59
drm: add convenience function to create an enum property

Creating an enum property is a common pattern, so create
a convenience function for this and use it where appropriate.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/i915/intel_modes.c
drivers/gpu/drm/nouveau/nouveau_display.c
drivers/gpu/drm/radeon/radeon_display.c
include/drm/drm_crtc.h