Messages in this thread | | | From | Brad Hards <> | Subject | Re: [2.5 patch] drivers/usb/class/usb-midi.c must include linux/version.h | Date | Tue, 18 Jun 2002 22:08:17 +1000 |
| |
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/
| |