* [PATCH] ASoC: SAMSUNG: Fix build error
@ 2011-11-22 2:03 Boojin Kim
2011-11-22 19:40 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Boojin Kim @ 2011-11-22 2:03 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds <linux/modules.h> to fix following build errors.
sound/soc/codecs/wm8994.c: In function 'wm8994_readable':
sound/soc/codecs/wm8994.c:58: warning: unused variable 'wm8994'
sound/soc/samsung/smdk_wm8994.c:176: error: expected declaration specifiers or '...' before string constant
sound/soc/samsung/smdk_wm8994.c:176: warning: data definition has no type or storage class
sound/soc/samsung/smdk_wm8994.c:176: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
sound/soc/samsung/smdk_wm8994.c:176: warning: function declaration isn't a prototype
sound/soc/samsung/smdk_wm8994.c:177: error: expected declaration specifiers or '...' before string constant
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
---
sound/soc/samsung/smdk_wm8994.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/soc/samsung/smdk_wm8994.c b/sound/soc/samsung/smdk_wm8994.c
index f75e439..ad9ac42 100644
--- a/sound/soc/samsung/smdk_wm8994.c
+++ b/sound/soc/samsung/smdk_wm8994.c
@@ -9,6 +9,7 @@
#include "../codecs/wm8994.h"
#include <sound/pcm_params.h>
+#include <linux/module.h>
/*
* Default CFG switch settings to use this driver:
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ASoC: SAMSUNG: Fix build error
2011-11-22 2:03 [PATCH] ASoC: SAMSUNG: Fix build error Boojin Kim
@ 2011-11-22 19:40 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2011-11-22 19:40 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Nov 22, 2011 at 11:03:22AM +0900, Boojin Kim wrote:
> This patch adds <linux/modules.h> to fix following build errors.
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-22 19:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-22 2:03 [PATCH] ASoC: SAMSUNG: Fix build error Boojin Kim
2011-11-22 19:40 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).