aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/ohci.c
diff options
context:
space:
mode:
authorNick Hibma <n_hibma@FreeBSD.org>2001-07-05 10:09:22 +0000
committerNick Hibma <n_hibma@FreeBSD.org>2001-07-05 10:09:22 +0000
commitb74562cf037e92124735a02823fddb4c34246a8a (patch)
tree626753cb305c9bc331a2885cdd4dac5cd1b16181 /sys/dev/usb/ohci.c
parent013fab318ca18fa94c1e45d3eba2f089feecd049 (diff)
downloadsrc-b74562cf037e92124735a02823fddb4c34246a8a.tar.gz
src-b74562cf037e92124735a02823fddb4c34246a8a.zip
Make the string argument a const.
Notes
Notes: svn path=/head/; revision=79308
Diffstat (limited to 'sys/dev/usb/ohci.c')
-rw-r--r--sys/dev/usb/ohci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index c2abcd8bbc8d..686f59ce9df7 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -195,7 +195,7 @@ Static void ohci_device_isoc_done (usbd_xfer_handle);
Static usbd_status ohci_device_setintr(ohci_softc_t *sc,
struct ohci_pipe *pipe, int ival);
-Static int ohci_str(usb_string_descriptor_t *, int, char *);
+Static int ohci_str(usb_string_descriptor_t *, int, const char *);
Static void ohci_timeout(void *);
Static void ohci_rhsc_able(ohci_softc_t *, int);
@@ -2002,7 +2002,7 @@ Static int
ohci_str(p, l, s)
usb_string_descriptor_t *p;
int l;
- char *s;
+ const char *s;
{
int i;