Patch: pre6-5/drivers/usb/devices.c missing include file

From: Adam J. Richter (adam@yggdrasil.com)
Date: Mon Apr 24 2000 - 14:05:43 EST


        linux-2.3.99-pre6-5/drivers/usb/devices.c references
{,un}lock_kernel(), but does not include the .h file that
defines it as an inline routine, and these symbols are not
exported from the kernel with EXPORT_SYMBOL. Consequently,
the usb core module got undefined symbols and would not load
under pre6-5. Here is the one line patch.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."
-----------------------------CUT HERE-------------------------
--- /tmp/linux-2.3.99-pre5.5/drivers/usb/devices.c Mon Apr 24 12:00:12 2000
+++ linux/drivers/usb/devices.c Sun Apr 23 23:35:03 2000
@@ -55,6 +55,7 @@
 #include <linux/poll.h>
 #include <linux/usb.h>
 #include <linux/usbdevice_fs.h>
+#include <linux/smp_lock.h>
 #include <asm/uaccess.h>
 
 #define MAX_TOPO_LEVEL 6

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



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:08 EST