summaryrefslogtreecommitdiff
path: root/sound/soc/omap/omap3beagle.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-10-23 17:01:17 +0200
committerTakashi Iwai <tiwai@suse.de>2010-10-23 17:01:17 +0200
commitb11bdb5254ff17cb63e4ae5088b73fdcd2cc2602 (patch)
treeb5d57f358bf83d31ccdad3604b4a6e82a47ff612 /sound/soc/omap/omap3beagle.c
parent4428bc0990ba545e2ef0dea8ec1b90c256b22958 (diff)
parent84eae18c867fcb7ce43d5830e23377ed33e45df9 (diff)
Merge branch 'for-2.6.37' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/asoc-2.6 into topic/asoc
Diffstat (limited to 'sound/soc/omap/omap3beagle.c')
-rw-r--r--sound/soc/omap/omap3beagle.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/omap/omap3beagle.c b/sound/soc/omap/omap3beagle.c
index 7c11e1afe9e6..e56832b0c444 100644
--- a/sound/soc/omap/omap3beagle.c
+++ b/sound/soc/omap/omap3beagle.c
@@ -112,10 +112,8 @@ static int __init omap3beagle_soc_init(void)
{
int ret;
- if (!(machine_is_omap3_beagle() || machine_is_devkit8000())) {
- pr_debug("Not OMAP3 Beagle or Devkit8000!\n");
+ if (!(machine_is_omap3_beagle() || machine_is_devkit8000()))
return -ENODEV;
- }
pr_info("OMAP3 Beagle/Devkit8000 SoC init\n");
omap3beagle_snd_device = platform_device_alloc("soc-audio", -1);