Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
ASoC: sti-sas: add missing MODULE_DEVICE_TABLE
Browse files Browse the repository at this point in the history
[ Upstream commit e072b26 ]

This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zou Wei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
SamuelZOU authored and gregkh committed Jun 16, 2021
1 parent 38cb2e2 commit db228da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/codecs/sti-sas.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ static const struct of_device_id sti_sas_dev_match[] = {
},
{},
};
MODULE_DEVICE_TABLE(of, sti_sas_dev_match);

static int sti_sas_driver_probe(struct platform_device *pdev)
{
Expand Down

0 comments on commit db228da

Please sign in to comment.