Skip to content

Commit

Permalink
ALSA: ppc: Add missing inclusion of linux/module.h
Browse files Browse the repository at this point in the history
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: a2bc2af ('ALSA: ppc: keywest: Export I2C module alias information')
Reported-by: kbuild test robot <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Aug 25, 2015
1 parent a2bc2af commit 654e275
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/ppc/keywest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 654e275

Please sign in to comment.