From 3fe89f1753f39a021d298efc265f4dcf19da8dfc Mon Sep 17 00:00:00 2001 From: Andrew Jackson Date: Tue, 27 Jan 2015 20:38:28 +0000 Subject: 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 Signed-off-by: Mark Brown (cherry picked from commit acae254a8e08b9406e62d456000ebd1573af0cb6) Signed-off-by: Jon Medhurst --- sound/soc/dwc/designware_i2s.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc/designware_i2s.c index 71f3fbbefaa2..0e697151a246 100644 --- a/sound/soc/dwc/designware_i2s.c +++ b/sound/soc/dwc/designware_i2s.c @@ -611,9 +611,7 @@ static struct platform_driver dw_i2s_driver = { .driver = { .name = "designware-i2s", .owner = THIS_MODULE, -#ifdef CONFIG_OF .of_match_table = of_match_ptr(dw_i2s_of_match), -#endif }, }; -- cgit v1.2.3