ASoC: bt-sco: Add devicetree support for bt-sco codec
Add devicetree support for bluetooth SCO link codec. Signed-off-by: Marek Belisko <marek@goldelico.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:

committed by
Mark Brown

parent
c5787431e6
commit
c778b4726a
@@ -74,9 +74,18 @@ static const struct platform_device_id bt_sco_driver_ids[] = {
|
||||
};
|
||||
MODULE_DEVICE_TABLE(platform, bt_sco_driver_ids);
|
||||
|
||||
#if defined(CONFIG_OF)
|
||||
static const struct of_device_id bt_sco_codec_of_match[] = {
|
||||
{ .compatible = "delta,dfbmcs320", },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, bt_sco_codec_of_match);
|
||||
#endif
|
||||
|
||||
static struct platform_driver bt_sco_driver = {
|
||||
.driver = {
|
||||
.name = "bt-sco",
|
||||
.of_match_table = of_match_ptr(bt_sco_codec_of_match),
|
||||
},
|
||||
.probe = bt_sco_probe,
|
||||
.remove = bt_sco_remove,
|
||||
|
Reference in New Issue
Block a user