diff options
author | Mark Brown <broonie@kernel.org> | 2015-02-09 01:36:47 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-09 01:36:47 -0500 |
commit | 3efa130de40e7b2d7c7095683af9571bfef1d3a4 (patch) | |
tree | c561d146775ca5690c0a8e5cb09880df4cc574b3 /sound/soc | |
parent | af5adf129369125bba8fa7ca594a7abaf226b27c (diff) |
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>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/max98357a.c | 2 |
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 | }; |
123 | MODULE_DEVICE_TABLE(of, max98357a_device_id); | ||
123 | #endif | 124 | #endif |
124 | 125 | ||
125 | static struct platform_driver max98357a_platform_driver = { | 126 | static struct platform_driver max98357a_platform_driver = { |
@@ -135,4 +136,3 @@ module_platform_driver(max98357a_platform_driver); | |||
135 | MODULE_DESCRIPTION("Maxim MAX98357A Codec Driver"); | 136 | MODULE_DESCRIPTION("Maxim MAX98357A Codec Driver"); |
136 | MODULE_LICENSE("GPL v2"); | 137 | MODULE_LICENSE("GPL v2"); |
137 | MODULE_ALIAS("platform:" DRV_NAME); | 138 | MODULE_ALIAS("platform:" DRV_NAME); |
138 | MODULE_DEVICE_TABLE(of, max98357a_device_id); | ||