2002-09-22 21:51:33

by Luc Van Oostenryck

[permalink] [raw]
Subject: [PATCH] #include <linux/version.h> missing in drivers/usb/host/ohci-hcd.c

Hi,

compile fails with the following message:

> In file included from ohci-hcd.c:136:
> ohci-dbg.c:318: parse error
> make[3]: *** [ohci-hcd.o] Error 1

due to a missing #include <linux/version.h>

Here is a trivial patch for this.

--- linux-2.5.38/drivers/usb/host/ohci-hcd.c Sun Sep 22 06:25:00 2002
+++ l-2.5.38/drivers/usb/host/ohci-hcd.c Sun Sep 22 23:47:37 2002
@@ -92,6 +92,7 @@
#endif

#include <linux/usb.h>
+#include <linux/version.h>
#include "../core/hcd.h"

#include <asm/io.h>


2002-09-23 19:47:47

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH] #include <linux/version.h> missing in drivers/usb/host/ohci-hcd.c

On Sun, Sep 22, 2002 at 11:59:14PM +0200, Luc Van Oostenryck wrote:
> Hi,
>
> compile fails with the following message:
>
> > In file included from ohci-hcd.c:136:
> > ohci-dbg.c:318: parse error
> > make[3]: *** [ohci-hcd.o] Error 1
>
> due to a missing #include <linux/version.h>
>
> Here is a trivial patch for this.

Thanks, I've added it to my tree.

greg k-h