Commit 50ac9a5a authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Missing <linux/version.h>, yet testing the kernel version

parent 06e8e9d9
......@@ -39,6 +39,7 @@
#include <linux/usb.h>
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,32)
#include "../hcd.h"
#else
......
......@@ -393,6 +393,7 @@ struct ehci_fstn {
/*-------------------------------------------------------------------------*/
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,32)
#define SUBMIT_URB(urb,mem_flags) usb_submit_urb(urb)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment