diff options
| author | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
| commit | c74a7469f97c0f40b46e82ee979f9fb1bb6e847c (patch) | |
| tree | f2690a1a916b73ef94657fbf0e0141ae57701825 /sound/soc/codecs/wm8782.c | |
| parent | 6f15a7de86c8cf2dc09fc9e6d07047efa40ef809 (diff) | |
| parent | 500775074f88d9cf5416bed2ca19592812d62c41 (diff) | |
Merge drm/drm-next into drm-intel-next-queued
We need a backmerge to get DP_DPCD_REV_14 before we push other
i915 changes to dinq that could break compilation.
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'sound/soc/codecs/wm8782.c')
| -rw-r--r-- | sound/soc/codecs/wm8782.c | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/sound/soc/codecs/wm8782.c b/sound/soc/codecs/wm8782.c index 7949703f3d04..317db9a149a7 100644 --- a/sound/soc/codecs/wm8782.c +++ b/sound/soc/codecs/wm8782.c @@ -67,9 +67,18 @@ static int wm8782_probe(struct platform_device *pdev)  			&soc_component_dev_wm8782, &wm8782_dai, 1);  } +#ifdef CONFIG_OF +static const struct of_device_id wm8782_of_match[] = { +	{ .compatible = "wlf,wm8782", }, +	{ } +}; +MODULE_DEVICE_TABLE(of, wm8782_of_match); +#endif +  static struct platform_driver wm8782_codec_driver = {  	.driver = {  		.name = "wm8782", +		.of_match_table = of_match_ptr(wm8782_of_match),  	},  	.probe = wm8782_probe,  }; |