diff options
author | Daniel Vetter <[email protected]> | 2020-11-04 11:04:23 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2020-11-06 10:31:26 +0100 |
commit | 8f5c7aa078cf6f81ef5afc3f0516b4049decb4eb (patch) | |
tree | fb32adcbc4ed9e4354142586b53d73356dd9c65f /drivers/gpu/drm/ast/ast_main.c | |
parent | e431eb8089eef1477082d6ae072ac252699b231f (diff) |
drm: Allow const struct drm_driver
It's nice if a big function/ioctl table like this is const. Only
downside here is that we need a few more #ifdef to paper over the
differences when CONFIG_DRM_LEGACY is enabled. Maybe provides more
motivation to sunset that horror show :-)
v2:
- Fix super important checkpatch warning (Sam)
- Update the kerneldoc example too (Sam)
Acked-by: Maxime Ripard <[email protected]>
Reviewed-by: Sam Ravnborg <[email protected]>
Acked-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/ast/ast_main.c')
0 files changed, 0 insertions, 0 deletions