summaryrefslogtreecommitdiff
path: root/sound/ppc
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-08-25 15:04:44 +0300
committerTakashi Iwai <tiwai@suse.de>2015-08-25 15:13:36 +0300
commit654e2751c9f00491c4622893de59a21784e39ccf (patch)
tree9710d36e48f1026ba43a16a1afa5c6e3dba3e7f3 /sound/ppc
parenta2bc2af66a5b656577fc2d71b6c277b73537777e (diff)
downloadlinux-654e2751c9f00491c4622893de59a21784e39ccf.tar.xz
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 <fengguang.wu@intel.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc')
-rw-r--r--sound/ppc/keywest.c1
1 files changed, 1 insertions, 0 deletions
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"