aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Jackson <Andrew.Jackson@arm.com>2015-01-27 15:38:28 -0500
committerMark Brown <broonie@kernel.org>2015-01-28 12:40:08 -0500
commitacae254a8e08b9406e62d456000ebd1573af0cb6 (patch)
tree1fdb5cc2317186220b2090d81f4495cbe86589cf
parent0d274544bfee721b22b484a10b1480e237c0e258 (diff)
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>
-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 = {
613 .remove = dw_i2s_remove, 613 .remove = dw_i2s_remove,
614 .driver = { 614 .driver = {
615 .name = "designware-i2s", 615 .name = "designware-i2s",
616#ifdef CONFIG_OF
617 .of_match_table = of_match_ptr(dw_i2s_of_match), 616 .of_match_table = of_match_ptr(dw_i2s_of_match),
618#endif
619 }, 617 },
620}; 618};
621 619