Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm Constify drm_mode_cr...
details: https://anonhg.NetBSD.org/src/rev/d409535ec2e1
branches: riastradh-drm2
changeset: 788408:d409535ec2e1
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 03:40:10 2013 +0000
description:
Constify drm_mode_create_tv_properties.
diffstat:
sys/external/bsd/drm2/dist/drm/drm_crtc.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r bc05c90ba13b -r d409535ec2e1 sys/external/bsd/drm2/dist/drm/drm_crtc.c
--- a/sys/external/bsd/drm2/dist/drm/drm_crtc.c Wed Jul 24 03:39:52 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_crtc.c Wed Jul 24 03:40:10 2013 +0000
@@ -858,8 +858,13 @@
* responsible for allocating a list of format names and passing them to
* this routine.
*/
+#ifdef __NetBSD__ /* XXX const */
+int drm_mode_create_tv_properties(struct drm_device *dev, int num_modes,
+ const char *modes[])
+#else
int drm_mode_create_tv_properties(struct drm_device *dev, int num_modes,
char *modes[])
+#endif
{
struct drm_property *tv_selector;
struct drm_property *tv_subconnector;
Home |
Main Index |
Thread Index |
Old Index