[alsa-devel] ALSA: ASoC codec: remove unused #include <version.h>

Takashi Iwai tiwai at suse.de
Mon Oct 13 03:51:00 CEST 2008


At Sun, 12 Oct 2008 23:12:56 +0800,
Huang Weiyi wrote:
> 
> The files below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
>  sound/soc/codecs/ad1980.c
>  sound/soc/codecs/wm8580.c
>  sound/soc/codecs/wm8900.c
> 
> This patch removes the said #include <version.h>.
> 
> Signed-off-by: Huang Weiyi <weiyi.huang at gmail.com>

Thanks, applied now.


Takashi

> diff --git a/sound/soc/codecs/ad1980.c b/sound/soc/codecs/ad1980.c
> index 4e09c1f..1397b8e 100644
> --- a/sound/soc/codecs/ad1980.c
> +++ b/sound/soc/codecs/ad1980.c
> @@ -13,7 +13,6 @@
> 
>  #include <linux/init.h>
>  #include <linux/module.h>
> -#include <linux/version.h>
>  #include <linux/kernel.h>
>  #include <linux/device.h>
>  #include <sound/core.h>
> diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c
> index df1ffbe..a10edda 100644
> --- a/sound/soc/codecs/wm8580.c
> +++ b/sound/soc/codecs/wm8580.c
> @@ -18,7 +18,6 @@
> 
>  #include <linux/module.h>
>  #include <linux/moduleparam.h>
> -#include <linux/version.h>
>  #include <linux/kernel.h>
>  #include <linux/init.h>
>  #include <linux/delay.h>
> diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c
> index 0b8c6d3..3b326c9 100644
> --- a/sound/soc/codecs/wm8900.c
> +++ b/sound/soc/codecs/wm8900.c
> @@ -18,7 +18,6 @@
> 
>  #include <linux/module.h>
>  #include <linux/moduleparam.h>
> -#include <linux/version.h>
>  #include <linux/kernel.h>
>  #include <linux/init.h>
>  #include <linux/delay.h>
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


More information about the Alsa-devel mailing list