Skip to content

Commit

Permalink
Merge branch 'topic/asoc' into for-linus
Browse files Browse the repository at this point in the history
  • Loading branch information
Takashi Iwai committed Jan 5, 2009
2 parents cd8faac + cad9d90 commit 9d7eff6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sound/soc/davinci/davinci-sffsdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 9d7eff6

Please sign in to comment.