aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/max98357a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/max98357a.c b/sound/soc/codecs/max98357a.c
index 98b915314d7a..1806333ea29e 100644
--- a/sound/soc/codecs/max98357a.c
+++ b/sound/soc/codecs/max98357a.c
@@ -120,6 +120,7 @@ static const struct of_device_id max98357a_device_id[] = {
120 { .compatible = "maxim," DRV_NAME, }, 120 { .compatible = "maxim," DRV_NAME, },
121 {} 121 {}
122}; 122};
123MODULE_DEVICE_TABLE(of, max98357a_device_id);
123#endif 124#endif
124 125
125static struct platform_driver max98357a_platform_driver = { 126static struct platform_driver max98357a_platform_driver = {
@@ -135,4 +136,3 @@ module_platform_driver(max98357a_platform_driver);
135MODULE_DESCRIPTION("Maxim MAX98357A Codec Driver"); 136MODULE_DESCRIPTION("Maxim MAX98357A Codec Driver");
136MODULE_LICENSE("GPL v2"); 137MODULE_LICENSE("GPL v2");
137MODULE_ALIAS("platform:" DRV_NAME); 138MODULE_ALIAS("platform:" DRV_NAME);
138MODULE_DEVICE_TABLE(of, max98357a_device_id);