diff options
Diffstat (limited to 'sound/soc/s3c24xx/neo1973_wm8753.c')
-rw-r--r-- | sound/soc/s3c24xx/neo1973_wm8753.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/s3c24xx/neo1973_wm8753.c b/sound/soc/s3c24xx/neo1973_wm8753.c index 47ddcdedc3a4..73a50e93a9a2 100644 --- a/sound/soc/s3c24xx/neo1973_wm8753.c +++ b/sound/soc/s3c24xx/neo1973_wm8753.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <sound/soc-dapm.h> | 24 | #include <sound/soc-dapm.h> |
25 | #include <sound/tlv.h> | 25 | #include <sound/tlv.h> |
26 | 26 | ||
27 | #include <asm/mach-types.h> | ||
27 | #include <asm/hardware/scoop.h> | 28 | #include <asm/hardware/scoop.h> |
28 | #include <mach/regs-clock.h> | 29 | #include <mach/regs-clock.h> |
29 | #include <mach/regs-gpio.h> | 30 | #include <mach/regs-gpio.h> |
@@ -716,6 +717,12 @@ static int __init neo1973_init(void) | |||
716 | 717 | ||
717 | DBG("Entered %s\n", __func__); | 718 | DBG("Entered %s\n", __func__); |
718 | 719 | ||
720 | if (!machine_is_neo1973_gta01()) { | ||
721 | printk(KERN_INFO | ||
722 | "Only GTA01 hardware supported by ASoC driver\n"); | ||
723 | return -ENODEV; | ||
724 | } | ||
725 | |||
719 | neo1973_snd_device = platform_device_alloc("soc-audio", -1); | 726 | neo1973_snd_device = platform_device_alloc("soc-audio", -1); |
720 | if (!neo1973_snd_device) | 727 | if (!neo1973_snd_device) |
721 | return -ENOMEM; | 728 | return -ENOMEM; |