[patch] 2.4.8-pre3 drivers/usb/storage/scsiglue.c

Keith Owens (kaos@ocs.com.au)
Tue, 31 Jul 2001 12:11:21 +1000


Trivial patch to remove warning message.

Index: 8-pre3.1/drivers/usb/storage/scsiglue.c
--- 8-pre3.1/drivers/usb/storage/scsiglue.c Tue, 31 Jul 2001 11:09:45 +1000 kaos (linux-2.4/y/b/2_scsiglue.c 1.4.2.1 644)
+++ 8-pre3.1(w)/drivers/usb/storage/scsiglue.c Tue, 31 Jul 2001 12:07:28 +1000 kaos (linux-2.4/y/b/2_scsiglue.c 1.4.2.1 644)
@@ -249,7 +249,7 @@ static int bus_reset( Scsi_Cmnd *srb )
for (i = 0; i < us->pusb_dev->actconfig->bNumInterfaces; i++) {
struct usb_interface *intf =
&us->pusb_dev->actconfig->interface[i];
- struct usb_device_id *id;
+ const struct usb_device_id *id;

/* if this is an unclaimed interface, skip it */
if (!intf->driver) {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/