Re: [PATCH] v4l/dvb: Add linux/version.h include as KERNEL_VERSIONmacro is used.
From: Adrian Bunk
Date: Thu May 01 2008 - 15:32:08 EST
On Thu, May 01, 2008 at 08:05:41PM +0200, Andres Freund wrote:
> Whitout this build fails with unknown macro on
> e4c576b911e364737b1bf4f5bfdab1c440713f26
>
> Hopefully I did everything correct, as this is my first usage of git beside
> checking out. Also its my first patch on lk....
>
> Is an Signed-off-by already appropriate with such an trivial change?
Yes.
> Signed-off-by: Andres Freund <andres@xxxxxxxxxxx>
> ---
> drivers/media/radio/radio-maxiradio.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/media/radio/radio-maxiradio.c
> b/drivers/media/radio/radio-maxiradio.c
> index 0133ecf..e170fcd 100644
> --- a/drivers/media/radio/radio-maxiradio.c
> +++ b/drivers/media/radio/radio-maxiradio.c
> @@ -34,6 +34,7 @@
>
>
> #include <linux/module.h>
> +#include <linux/version.h>
> #include <linux/init.h>
> #include <linux/ioport.h>
> #include <linux/delay.h>
The #include is already there a dozen lines below.
It seems to be missing in another file.
Can you send the error message and your .config?
Thanks
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/