Re: [2.5 patch] drivers/usb/class/usb-midi.c must include linux/version.h

From: Brad Hards (bhards@bigpond.net.au)
Date: Tue Jun 18 2002 - 07:08:17 EST


On Tue, 18 Jun 2002 01:11, Adrian Bunk wrote:
> Line 109 is:
> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,14)
>
>
> The fix is simple:
>
> --- drivers/usb/class/usb-midi.c~ Mon Jun 17 04:31:24 2002
> +++ drivers/usb/class/usb-midi.c Mon Jun 17 16:36:36 2002
> @@ -38,6 +38,7 @@
> #include <linux/poll.h>
> #include <linux/sound.h>
> #include <linux/init.h>
> +#include <linux/version.h>
> #include <asm/semaphore.h>
Why are we even doing this tes for a driver in the kernelt? Dump the test (and
the include) for the in-kernel version.

Brad

-- 
http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:16 EST