git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9a0d15
)
drm: turn DRM_MINOR_* into enum
author
David Herrmann
<dh.herrmann@gmail.com>
Wed, 29 Jan 2014 11:31:40 +0000
(12:31 +0100)
committer
David Herrmann
<dh.herrmann@gmail.com>
Sun, 16 Mar 2014 11:25:17 +0000
(12:25 +0100)
Use enum for DRM_MINOR_* constants to avoid hard-coding the IDs.
Furthermore, add a DRM_MINOR_CNT so we can perform range-checks in
follow-ups.
This changes the IDs of the minor-types by -1, but they're not used as
indices so this is fine.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/drm/drmP.h
patch
|
blob
|
history
diff --cc
include/drm/drmP.h
Simple merge