[alsa-devel] [PATCH] ALSA: ppc: Add missing inclusion of linux/module.h

Javier Martinez Canillas javier at osg.samsung.com
Tue Aug 25 14:09:15 CEST 2015


Hello Takashi,

On 08/25/2015 02:07 PM, Takashi Iwai wrote:
> Otherwise it triggers a compile warning like:
>  sound/ppc/keywest.c:104:1: warning: data definition has no type or storage class
>  sound/ppc/keywest.c:104:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int]
> 
> Fixes: a2bc2af66a5b ('ALSA: ppc: keywest: Export I2C module alias information')
> Reported-by: kbuild test robot <fengguang.wu at intel.com>
> Signed-off-by: Takashi Iwai <tiwai at suse.de>
> ---
>  sound/ppc/keywest.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sound/ppc/keywest.c b/sound/ppc/keywest.c
> index f644a8c57e0a..4373615f13e2 100644
> --- a/sound/ppc/keywest.c
> +++ b/sound/ppc/keywest.c
> @@ -22,6 +22,7 @@
>  #include <linux/init.h>
>  #include <linux/i2c.h>
>  #include <linux/delay.h>
> +#include <linux/module.h>
>  #include <sound/core.h>
>  #include "pmac.h"
>  
> 

Reviewed-by: Javier Martinez Canillas <javier at osg.samsung.com>

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America


More information about the Alsa-devel mailing list