summaryrefslogtreecommitdiff
path: root/sound/soc/omap/omap-mcpdm.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-05-23 01:37:59 +0200
committerTakashi Iwai <tiwai@suse.de>2012-05-23 01:37:59 +0200
commit599ed4b0aeceb6d45ea33f64639e745e3da72766 (patch)
treed1d68299eacda3b12097bd3a7d4e7c895e3d6a13 /sound/soc/omap/omap-mcpdm.c
parent85e184e4c3cd3e2285ceab91ff8f0cac094e8a85 (diff)
parentced47a3117ba084b404f3fc28de3ef6eaba1b911 (diff)
downloadlinux-rt-599ed4b0aeceb6d45ea33f64639e745e3da72766.tar.gz
Merge branch 'for-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/asoc into topic/asoc
Diffstat (limited to 'sound/soc/omap/omap-mcpdm.c')
-rw-r--r--sound/soc/omap/omap-mcpdm.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/omap/omap-mcpdm.c b/sound/soc/omap/omap-mcpdm.c
index 39705561131a..59d47ab5b15d 100644
--- a/sound/soc/omap/omap-mcpdm.c
+++ b/sound/soc/omap/omap-mcpdm.c
@@ -33,6 +33,7 @@
#include <linux/irq.h>
#include <linux/slab.h>
#include <linux/pm_runtime.h>
+#include <linux/of_device.h>
#include <sound/core.h>
#include <sound/pcm.h>
@@ -507,10 +508,17 @@ static int __devexit asoc_mcpdm_remove(struct platform_device *pdev)
return 0;
}
+static const struct of_device_id omap_mcpdm_of_match[] = {
+ { .compatible = "ti,omap4-mcpdm", },
+ { }
+};
+MODULE_DEVICE_TABLE(of, omap_mcpdm_of_match);
+
static struct platform_driver asoc_mcpdm_driver = {
.driver = {
.name = "omap-mcpdm",
.owner = THIS_MODULE,
+ .of_match_table = omap_mcpdm_of_match,
},
.probe = asoc_mcpdm_probe,