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/include/drm Constify bus...



details:   https://anonhg.NetBSD.org/src/rev/4dacfb7d97d3
branches:  riastradh-drm2
changeset: 788456:4dacfb7d97d3
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 03:53:46 2013 +0000

description:
Constify bus member of struct drm_driver.

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drmP.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 8caf4fcd0e48 -r 4dacfb7d97d3 sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h     Wed Jul 24 03:53:30 2013 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h     Wed Jul 24 03:53:46 2013 +0000
@@ -1111,7 +1111,11 @@
                struct platform_device *platform_device;
                struct usb_driver *usb;
        } kdriver;
+#ifdef __NetBSD__              /* XXX const */
+       const struct drm_bus *bus;
+#else
        struct drm_bus *bus;
+#endif
 
        /* List of devices hanging off this driver */
        struct list_head device_list;



Home | Main Index | Thread Index | Old Index