Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Sep 2006 13:09:47 GMT
From:      Tom Rhodes <trhodes@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 105892 for review
Message-ID:  <200609091309.k89D9lxW047337@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105892

Change 105892 by trhodes@trhodes_local on 2006/09/09 13:08:48

	Return const previously removed.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/ehci.c#10 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/ehci.c#10 (text+ko) ====

@@ -2780,7 +2780,8 @@
 	1			/* # of configurations */
 };
 
-static usb_device_qualifier_t ehci_odevd = 
+static const
+usb_device_qualifier_t ehci_odevd = 
 {
 	sizeof(usb_device_qualifier_t), 
 	UDESC_DEVICE_QUALIFIER,	/* type */
@@ -2793,7 +2794,8 @@
 	0
 };
 
-static usb_config_descriptor_t ehci_confd = 
+static const
+usb_config_descriptor_t ehci_confd = 
 {
 	sizeof(usb_config_descriptor_t),
 	UDESC_CONFIG,
@@ -2807,7 +2809,8 @@
 	0			/* max power */
 };
 
-static usb_interface_descriptor_t ehci_ifcd = 
+static const
+usb_interface_descriptor_t ehci_ifcd = 
 {
 	sizeof(usb_interface_descriptor_t),
 	UDESC_INTERFACE,
@@ -2820,7 +2823,8 @@
 	0
 };
 
-static usb_endpoint_descriptor_t ehci_endpd =
+static const
+usb_endpoint_descriptor_t ehci_endpd =
 {
 	sizeof(usb_endpoint_descriptor_t),
 	UDESC_ENDPOINT,
@@ -2830,7 +2834,8 @@
 	255
 };
 
-static usb_hub_descriptor_t ehci_hubd =
+static const
+usb_hub_descriptor_t ehci_hubd =
 {
 	0, /* dynamic length */
 	UDESC_HUB,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609091309.k89D9lxW047337>