diff mbox

SoC: rt5640: Add the rt5639 support to the OF match table

Message ID 1398666486-28118-1-git-send-email-oder_chiou@realtek.com (mailing list archive)
State New, archived
Headers show

Commit Message

Oder Chiou April 28, 2014, 6:28 a.m. UTC
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(+)

Comments

Mark Brown April 28, 2014, 8:48 a.m. UTC | #1
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 mbox

Patch

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);