• Axel Lin's avatar
    ASoC: Include linux/module.h for smdk2443_wm9710 · 974edd30
    Axel Lin authored
    Include linux/module.h to fix below build error:
      CC      sound/soc/samsung/smdk2443_wm9710.o
    sound/soc/samsung/smdk2443_wm9710.c:64: error: expected declaration specifiers or '...' before string constant
    sound/soc/samsung/smdk2443_wm9710.c:64: warning: data definition has no type or storage class
    sound/soc/samsung/smdk2443_wm9710.c:64: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
    sound/soc/samsung/smdk2443_wm9710.c:64: warning: function declaration isn't a prototype
    sound/soc/samsung/smdk2443_wm9710.c:65: error: expected declaration specifiers or '...' before string constant
    sound/soc/samsung/smdk2443_wm9710.c:65: warning: data definition has no type or storage class
    sound/soc/samsung/smdk2443_wm9710.c:65: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
    sound/soc/samsung/smdk2443_wm9710.c:65: warning: function declaration isn't a prototype
    sound/soc/samsung/smdk2443_wm9710.c:66: error: expected declaration specifiers or '...' before string constant
    sound/soc/samsung/smdk2443_wm9710.c:66: warning: data definition has no type or storage class
    sound/soc/samsung/smdk2443_wm9710.c:66: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'
    sound/soc/samsung/smdk2443_wm9710.c:66: warning: function declaration isn't a prototype
    make[3]: *** [sound/soc/samsung/smdk2443_wm9710.o] Error 1
    make[2]: *** [sound/soc/samsung] Error 2
    make[1]: *** [sound/soc] Error 2
    make: *** [sound] Error 2
    Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    974edd30
smdk2443_wm9710.c 1.64 KB