diff options
| -rw-r--r-- | sound/soc/codecs/wm8524.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8524.c b/sound/soc/codecs/wm8524.c index f42ec664877c..e22b76d64e32 100644 --- a/sound/soc/codecs/wm8524.c +++ b/sound/soc/codecs/wm8524.c | |||
| @@ -206,13 +206,11 @@ static const struct snd_soc_codec_driver soc_codec_dev_wm8524 = { | |||
| 206 | }, | 206 | }, |
| 207 | }; | 207 | }; |
| 208 | 208 | ||
| 209 | #ifdef CONFIG_OF | ||
| 210 | static const struct of_device_id wm8524_of_match[] = { | 209 | static const struct of_device_id wm8524_of_match[] = { |
| 211 | { .compatible = "wlf,wm8524" }, | 210 | { .compatible = "wlf,wm8524" }, |
| 212 | { /* sentinel*/ } | 211 | { /* sentinel*/ } |
| 213 | }; | 212 | }; |
| 214 | MODULE_DEVICE_TABLE(of, wm8524_of_match); | 213 | MODULE_DEVICE_TABLE(of, wm8524_of_match); |
| 215 | #endif | ||
| 216 | 214 | ||
| 217 | static int wm8524_codec_probe(struct platform_device *pdev) | 215 | static int wm8524_codec_probe(struct platform_device *pdev) |
| 218 | { | 216 | { |
