[alsa-devel] [SOUND/SOC] removed unused #include <version.h>

Takashi Iwai tiwai at suse.de
Sun Aug 17 10:11:38 CEST 2008


At Sun, 17 Aug 2008 07:51:15 +0800,
Huang Weiyi wrote:
> 
> The files below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
>   sound/soc/codecs/wm8753.c
>   sound/soc/codecs/wm9712.c
> 
> This patch removes the said #include <version.h>.

Thanks.  Looks like we have more in the latest ALSA tree...


Takashi

> 
> Signed-off-by: Huang Weiyi <weiyi.huang at gmail.com>
> 
> diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
> index 8604809..dc7b18f 100644
> --- a/sound/soc/codecs/wm8753.c
> +++ b/sound/soc/codecs/wm8753.c
> @@ -34,7 +34,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/wm9712.c b/sound/soc/codecs/wm9712.c
> index 1fb7f9a..2f1c91b 100644
> --- a/sound/soc/codecs/wm9712.c
> +++ b/sound/soc/codecs/wm9712.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>
> 
> _______________________________________________
> 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