Skip to content

Commit

Permalink
[PATCH] USB: fix build warning in usb core as pointed out by Andrew.
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Index: gregkh-2.6/drivers/usb/core/usb.c
===================================================================
  • Loading branch information
gregkh@suse.de committed Jun 20, 2005
1 parent 126eddf commit ff71071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/core/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ static int __find_interface(struct device * dev, void * data)
*/
struct usb_interface *usb_find_interface(struct usb_driver *drv, int minor)
{
struct usb_interface *intf = (struct usb_interface *)minor;
struct usb_interface *intf = (struct usb_interface *)(long)minor;
int ret;

ret = driver_for_each_device(&drv->driver, NULL, &intf, __find_interface);
Expand Down

0 comments on commit ff71071

Please sign in to comment.