diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-06-25 21:44:13 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-07 13:35:13 +0100 |
commit | 5e4cb7b60833b0124a9f71dbc5118144ca79c3c4 (patch) | |
tree | bc814d4d1a2c5b0c848e205e48ec6be35058815d /sound/soc/codecs/cs42xx8.c | |
parent | d375d0abcd625cd09cd90a252ad22a1085452e3c (diff) | |
download | lwn-5e4cb7b60833b0124a9f71dbc5118144ca79c3c4.tar.gz lwn-5e4cb7b60833b0124a9f71dbc5118144ca79c3c4.zip |
ASoC: cs42xx8: Setup of_match_table
Setup of_match_table and since cs42xx8_of_match is exported and used in
cs42xx8-i2c.c, it cannot be static.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs42xx8.c')
-rw-r--r-- | sound/soc/codecs/cs42xx8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42xx8.c b/sound/soc/codecs/cs42xx8.c index ab395144b232..d562e1b9a5d1 100644 --- a/sound/soc/codecs/cs42xx8.c +++ b/sound/soc/codecs/cs42xx8.c @@ -425,7 +425,7 @@ const struct cs42xx8_driver_data cs42888_data = { }; EXPORT_SYMBOL_GPL(cs42888_data); -static const struct of_device_id cs42xx8_of_match[] = { +const struct of_device_id cs42xx8_of_match[] = { { .compatible = "cirrus,cs42448", .data = &cs42448_data, }, { .compatible = "cirrus,cs42888", .data = &cs42888_data, }, { /* sentinel */ } |