projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
cd8faac
)
Merge branch 'topic/asoc' into for-linus
author
Takashi Iwai
<tiwai@suse.de>
Mon, 5 Jan 2009 17:34:21 +0000
(18:34 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 5 Jan 2009 17:34:21 +0000
(18:34 +0100)
sound/soc/davinci/davinci-sffsdr.c
patch
|
blob
|
history
diff --git
a/sound/soc/davinci/davinci-sffsdr.c
b/sound/soc/davinci/davinci-sffsdr.c
index
f67579d
..
4935d1b
100644
(file)
--- a/
sound/soc/davinci/davinci-sffsdr.c
+++ b/
sound/soc/davinci/davinci-sffsdr.c
@@
-24,6
+24,7
@@
#include <sound/soc-dapm.h>
#include <asm/dma.h>
+#include <asm/mach-types.h>
#include <asm/plat-sffsdr/sffsdr-fpga.h>
#include <mach/mcbsp.h>
@@
-115,6
+116,9
@@
static int __init sffsdr_init(void)
{
int ret;
+ if (!machine_is_sffsdr())
+ return -EINVAL;
+
sffsdr_snd_device = platform_device_alloc("soc-audio", 0);
if (!sffsdr_snd_device) {
printk(KERN_ERR "platform device allocation failed\n");