ASoC: pxa: Fix module autoload for OF platform drivers
These platform drivers have a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt <luis@debethencourt.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
2fd7076a43
commit
baafd373e9
|
@ -809,6 +809,7 @@ static const struct of_device_id pxa_ssp_of_ids[] = {
|
||||||
{ .compatible = "mrvl,pxa-ssp-dai" },
|
{ .compatible = "mrvl,pxa-ssp-dai" },
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, pxa_ssp_of_ids);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int asoc_ssp_probe(struct platform_device *pdev)
|
static int asoc_ssp_probe(struct platform_device *pdev)
|
||||||
|
|
|
@ -132,6 +132,7 @@ static const struct of_device_id snd_soc_pxa_audio_match[] = {
|
||||||
{ .compatible = "mrvl,pxa-pcm-audio" },
|
{ .compatible = "mrvl,pxa-pcm-audio" },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, snd_soc_pxa_audio_match);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct platform_driver pxa_pcm_driver = {
|
static struct platform_driver pxa_pcm_driver = {
|
||||||
|
|
Loading…
Reference in New Issue