Commit 9d7eff60 authored by Takashi Iwai's avatar Takashi Iwai

Merge branch 'topic/asoc' into for-linus

parents cd8faac3 cad9d90e
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <sound/soc-dapm.h> #include <sound/soc-dapm.h>
#include <asm/dma.h> #include <asm/dma.h>
#include <asm/mach-types.h>
#include <asm/plat-sffsdr/sffsdr-fpga.h> #include <asm/plat-sffsdr/sffsdr-fpga.h>
#include <mach/mcbsp.h> #include <mach/mcbsp.h>
...@@ -115,6 +116,9 @@ static int __init sffsdr_init(void) ...@@ -115,6 +116,9 @@ static int __init sffsdr_init(void)
{ {
int ret; int ret;
if (!machine_is_sffsdr())
return -EINVAL;
sffsdr_snd_device = platform_device_alloc("soc-audio", 0); sffsdr_snd_device = platform_device_alloc("soc-audio", 0);
if (!sffsdr_snd_device) { if (!sffsdr_snd_device) {
printk(KERN_ERR "platform device allocation failed\n"); printk(KERN_ERR "platform device allocation failed\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment