PERFORCE change 105892 for review

Tom Rhodes trhodes at FreeBSD.org
Sat Sep 9 06:47:06 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=105892

Change 105892 by trhodes at 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,


More information about the p4-projects mailing list