[alsa-devel] [PATCH 01/37] Remove unneeded version.h includes from sound/

Takashi Iwai tiwai at suse.de
Fri Jun 24 11:29:47 CEST 2011


At Thu, 23 Jun 2011 23:54:40 +0200 (CEST),
Jesper Juhl wrote:
> 
> In the sound/ directory there are two files (flagged by 'make
> versioncheck'); sound/pci/asihpi/asihpi.c and
> sound/soc/codecs/wm8991.c that include linux/version.h although they
> don't need it. This patch removes the unneeded includes.
> 
> Signed-off-by: Jesper Juhl <jj at chaosbits.net>

Thanks, applied to sound git tree now.


Takashi

> ---
>  sound/pci/asihpi/asihpi.c |    1 -
>  sound/soc/codecs/wm8991.c |    1 -
>  2 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/pci/asihpi/asihpi.c b/sound/pci/asihpi/asihpi.c
> index 2ca6f4f..e3569bd 100644
> --- a/sound/pci/asihpi/asihpi.c
> +++ b/sound/pci/asihpi/asihpi.c
> @@ -27,7 +27,6 @@
>  #include "hpioctl.h"
>  
>  #include <linux/pci.h>
> -#include <linux/version.h>
>  #include <linux/init.h>
>  #include <linux/jiffies.h>
>  #include <linux/slab.h>
> diff --git a/sound/soc/codecs/wm8991.c b/sound/soc/codecs/wm8991.c
> index 3c2ee1b..6af23d0 100644
> --- a/sound/soc/codecs/wm8991.c
> +++ b/sound/soc/codecs/wm8991.c
> @@ -13,7 +13,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>
> -- 
> 1.7.5.2
> 
> 
> -- 
> Jesper Juhl <jj at chaosbits.net>       http://www.chaosbits.net/
> Don't top-post http://www.catb.org/jargon/html/T/top-post.html
> Plain text mails only, please.
> 


More information about the Alsa-devel mailing list