Message ID | 1398666486-28118-1-git-send-email-oder_chiou@realtek.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Apr 28, 2014 at 02:28:06PM +0800, Oder Chiou wrote: > #if defined(CONFIG_OF) > static const struct of_device_id rt5640_of_match[] = { > { .compatible = "realtek,rt5640", }, > + { .compatible = "realtek,rt5639", }, > {}, Please keep the table sorted.
diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c index 79635ee..f2cc3ed 100644 --- a/sound/soc/codecs/rt5640.c +++ b/sound/soc/codecs/rt5640.c @@ -2158,6 +2158,7 @@ MODULE_DEVICE_TABLE(i2c, rt5640_i2c_id); #if defined(CONFIG_OF) static const struct of_device_id rt5640_of_match[] = { { .compatible = "realtek,rt5640", }, + { .compatible = "realtek,rt5639", }, {}, }; MODULE_DEVICE_TABLE(of, rt5640_of_match);
The patch adds the rt5639 support to the OF match table. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> --- sound/soc/codecs/rt5640.c | 1 + 1 file changed, 1 insertion(+)