lkml.org 
[lkml]   [2002]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [2.5 patch] drivers/usb/class/usb-midi.c must include linux/version.h
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.027 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site