Skip to contentSkip to conversation

ASoC: dwc: Remove unnecessary conditional compilation

PATCH New Andrew Jackson 1 participant 1 message Dec 31, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: dwc: Remove unnecessary conditional compilation

From: Andrew Jackson <[email protected]>

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.

---
 sound/soc/dwc/designware_i2s.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
sound/soc/dwc/designware_i2s.c +0 -2
index 99cf64b..a3e97b4 100644
@@ -624,9 +624,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
 	},
 };
 
Signature · 1 line
1.7.1