Module Name:    src
Committed By:   riastradh
Date:           Wed Jul 24 03:53:47 UTC 2013

Modified Files:
        src/sys/external/bsd/drm2/dist/include/drm [riastradh-drm2]: drmP.h

Log Message:
Constify bus member of struct drm_driver.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.49 -r1.1.1.1.2.50 \
    src/sys/external/bsd/drm2/dist/include/drm/drmP.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/dist/include/drm/drmP.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.49 src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.50
--- src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.49	Wed Jul 24 03:24:03 2013
+++ src/sys/external/bsd/drm2/dist/include/drm/drmP.h	Wed Jul 24 03:53:46 2013
@@ -1111,7 +1111,11 @@ struct drm_driver {
 		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;

Reply via email to