ALSA: ppc: Add missing inclusion of linux/module.h
PATCH 1/1 ALSA: ppc: Add missing inclusion of linux/module.h
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 <[email protected]>
Signed-off-by Takashi Iwai <[email protected]>
--- sound/ppc/keywest.c | 1 + 1 file changed, 1 insertion(+)
sound/ppc/keywest.c +1 -0
@@ -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"
Signature · 1 line
2.5.0
Hello Takashi,
Quoted 17 lines · Takashi Iwai
Otherwise it triggers a compile warning like:
sound/ppc/keywest.c:104:1: warning: data definition has no type or storage classsound/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 <[email protected]>Signed-off-by Takashi Iwai <[email protected]>--- sound/ppc/keywest.c | 1 + 1 file changed, 1 insertion(+)sound/ppc/keywest.c +0
-0
sound/ppc/keywest.c line 28
Quoted 7 lines
sound/ppc/keywest.c +1
-0@@ -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 <[email protected]>
Best regards,
Signature · 3 lines
Javier Martinez Canillas Open Source Group Samsung Research America