summaryrefslogtreecommitdiffstats
path: root/sound/soc/dwc
diff options
context:
space:
mode:
authorAndrew Jackson <Andrew.Jackson@arm.com>2015-01-27 20:38:28 +0000
committerMark Brown <broonie@kernel.org>2015-01-28 17:40:08 +0000
commitacae254a8e08b9406e62d456000ebd1573af0cb6 (patch)
tree1fdb5cc2317186220b2090d81f4495cbe86589cf /sound/soc/dwc
parent0d274544bfee721b22b484a10b1480e237c0e258 (diff)
downloadlinux-acae254a8e08b9406e62d456000ebd1573af0cb6.tar.bz2
ASoC: dwc: Remove unnecessary conditional compilation
of_match_ptr is already conditionally compiled based on CONFIG_OF so further conditional compilation is not required. Remove conditional compilation surrounding of_match_ptr. Signed-off-by: Andrew Jackson <Andrew.Jackson@arm.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/dwc')
-rw-r--r--sound/soc/dwc/designware_i2s.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc/designware_i2s.c
index adefdf0e01f1..8fbf0381ee53 100644
--- a/sound/soc/dwc/designware_i2s.c
+++ b/sound/soc/dwc/designware_i2s.c
@@ -613,9 +613,7 @@ static struct platform_driver dw_i2s_driver = {
.remove = dw_i2s_remove,
.driver = {
.name = "designware-i2s",
-#ifdef CONFIG_OF
.of_match_table = of_match_ptr(dw_i2s_of_match),
-#endif
},
};