Commit 7882eca5 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: fix compiler warnings in devices.c file.

parent 9df38a80
......@@ -237,7 +237,7 @@ static char *usb_dump_interface_descriptor(char *start, char *end,
const struct usb_interface *iface,
int setno)
{
struct usb_interface_descriptor *desc = &intfc->altsetting[setno].desc;
const struct usb_interface_descriptor *desc = &intfc->altsetting[setno].desc;
char *driver_name = "";
if (start > end)
......@@ -268,7 +268,7 @@ static char *usb_dump_interface(
const struct usb_interface *iface,
int setno
) {
struct usb_host_interface *desc = &intfc->altsetting[setno];
const struct usb_host_interface *desc = &intfc->altsetting[setno];
int i;
start = usb_dump_interface_descriptor(start, end, intfc, iface, setno);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment