aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorgregkh@suse.de <gregkh@suse.de>2005-03-24 03:44:28 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-20 18:15:26 -0400
commitff710710eae73990dd484ea8e37dba636452502b (patch)
treec764773894a10b5650f81b32e86751b97e54706e /drivers
parent126eddfbf8cae8a20c22708192bffcbd77c8a889 (diff)
[PATCH] USB: fix build warning in usb core as pointed out by Andrew.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Index: gregkh-2.6/drivers/usb/core/usb.c ===================================================================
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/core/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
index a64974397e8e..230839ac5c09 100644
--- a/drivers/usb/core/usb.c
+++ b/drivers/usb/core/usb.c
@@ -492,7 +492,7 @@ static int __find_interface(struct device * dev, void * data)
492 */ 492 */
493struct usb_interface *usb_find_interface(struct usb_driver *drv, int minor) 493struct usb_interface *usb_find_interface(struct usb_driver *drv, int minor)
494{ 494{
495 struct usb_interface *intf = (struct usb_interface *)minor; 495 struct usb_interface *intf = (struct usb_interface *)(long)minor;
496 int ret; 496 int ret;
497 497
498 ret = driver_for_each_device(&drv->driver, NULL, &intf, __find_interface); 498 ret = driver_for_each_device(&drv->driver, NULL, &intf, __find_interface);