Commit acae254a authored by Andrew Jackson's avatar Andrew Jackson Committed by Mark Brown

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: default avatarAndrew Jackson <Andrew.Jackson@arm.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 0d274544
...@@ -613,9 +613,7 @@ static struct platform_driver dw_i2s_driver = { ...@@ -613,9 +613,7 @@ static struct platform_driver dw_i2s_driver = {
.remove = dw_i2s_remove, .remove = dw_i2s_remove,
.driver = { .driver = {
.name = "designware-i2s", .name = "designware-i2s",
#ifdef CONFIG_OF
.of_match_table = of_match_ptr(dw_i2s_of_match), .of_match_table = of_match_ptr(dw_i2s_of_match),
#endif
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment