Skip to contentSkip to conversation

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

PATCH In review Oder Chiou 2 participants 2 messages Apr 28, 2014

Subsystems (3)
lore
Share & tools
lore

Oder Chiou

author maintainer
#0 lore raw

PATCH 1/1 SoC: rt5640: Add the rt5639 support to the OF match table

The patch adds the rt5639 support to the OF match table.

---
 sound/soc/codecs/rt5640.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/codecs/rt5640.c +1 -0
index 79635ee..f2cc3ed 100644
@@ -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);
Signature · 1 line
1.8.1.1.439.g50a6b54
maintainer
#1 lore raw

sound/soc/codecs/rt5640.c MODULE_DEVICE_TABLE(i2c, rt5640_i2c_id); · line 2162

Quoted 5 lines · Oder Chiou

#if defined(CONFIG_OF)
static const struct of_device_id rt5640_of_match[] = {

sound/soc/codecs/rt5640.c +1 -0
 	{ .compatible = "realtek,rt5640", },
+	{ .compatible = "realtek,rt5639", },
 	{},

Please keep the table sorted.