mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 05:11:46 +00:00
ASoC: max98357a: Fix build in !CONFIG_OF case
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
af5adf1293
commit
3efa130de4
1 changed files with 1 additions and 1 deletions
|
@ -120,6 +120,7 @@ static const struct of_device_id max98357a_device_id[] = {
|
||||||
{ .compatible = "maxim," DRV_NAME, },
|
{ .compatible = "maxim," DRV_NAME, },
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, max98357a_device_id);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct platform_driver max98357a_platform_driver = {
|
static struct platform_driver max98357a_platform_driver = {
|
||||||
|
@ -135,4 +136,3 @@ module_platform_driver(max98357a_platform_driver);
|
||||||
MODULE_DESCRIPTION("Maxim MAX98357A Codec Driver");
|
MODULE_DESCRIPTION("Maxim MAX98357A Codec Driver");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
MODULE_ALIAS("platform:" DRV_NAME);
|
MODULE_ALIAS("platform:" DRV_NAME);
|
||||||
MODULE_DEVICE_TABLE(of, max98357a_device_id);
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue