Skip to contentSkip to conversation

ARM: dove: declare all device IDs for module loading

PATCH Superseded Jean-Francois Moine 2 participants 2 messages May 16, 2013 Common clk

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dove: declare all device IDs for module loading

When the si5351 driver is a kernel module, it is loaded into memory from its i2c device IDs, but not from its DT compatible properties.

This patch declares the i2c device IDs of all chip variants.

---

 drivers/clk/clk-si5351.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/clk/clk-si5351.c +4 -1
index 8927284..9ebdddd 100644
@@ -1490,7 +1490,10 @@ static int si5351_i2c_probe(struct i2c_client *client,
 }
 
 static const struct i2c_device_id si5351_i2c_ids[] = {
-	{ "silabs,si5351", 0 },
+	{ "si5351a", 0 },
+	{ "si5351a-msop", 0 },
+	{ "si5351b", 0 },
+	{ "si5351c", 0 },
 	{ }
 };
 MODULE_DEVICE_TABLE(i2c, si5351_i2c_ids);
Signature · 2 lines
Ken ar c'henta?	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/
#1 lore raw

PATCH 1/1 ARM: dove: declare all device IDs for module loading

Jean-Francois,

Thanks for the patch, but you may want to change the subject "clk:
si5351: ..." Other than that,

Quoted 9 lines · Jean-Francois Moine

When the si5351 driver is a kernel module, it is loaded into memory from its i2c device IDs, but not from its DT compatible properties.

This patch declares the i2c device IDs of all chip variants.

---

 drivers/clk/clk-si5351.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)