[PATCH] Missing usb_find_device symbol from usb.c

From: Wilco Beekhuizen
Date: Tue Jan 22 2008 - 14:18:49 EST


2.6.24-rc8 (possibly lower rc's too) has usb_find_device removed from
usb.c. This causes problems when compiling modules that need
usb_find_device.
This patch puts the symbol back in place. Unless someone has a good
reason not to include usb_find_device?

--- linux-2.6.24-rc8/drivers/usb/core/usb.c.bak 2008-01-22
20:12:37.000000000 +0100
+++ linux-2.6.24-rc8/drivers/usb/core/usb.c 2008-01-22
20:12:52.000000000 +0100
@@ -1007,6 +1007,7 @@

EXPORT_SYMBOL(__usb_get_extra_descriptor);

+EXPORT_SYMBOL(usb_find_device);
EXPORT_SYMBOL(usb_get_current_frame_number);

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