Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132845
b: refs/heads/master
c: 40135ea
h: refs/heads/master
i:
  132843: cd12467
v: v3
  • Loading branch information
Mark Brown committed Feb 18, 2009
1 parent 2693ab0 commit 1a5e6d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d6943541158985030108e4a0a483cdadc3c80ee1
refs/heads/master: 40135ea07190316a789b2edfbf7c8131598bdf81
4 changes: 4 additions & 0 deletions trunk/sound/soc/atmel/sam9g20_wm8731.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
#include <sound/soc.h>
#include <sound/soc-dapm.h>

#include <asm/mach-types.h>
#include <mach/hardware.h>
#include <mach/gpio.h>

Expand Down Expand Up @@ -268,6 +269,9 @@ static int __init at91sam9g20ek_init(void)
struct ssc_device *ssc = NULL;
int ret;

if (!machine_is_at91sam9g20ek())
return -ENODEV;

/*
* Request SSC device
*/
Expand Down

0 comments on commit 1a5e6d4

Please sign in to comment.