OSDN Git Service

clk: si5351: declare all device IDs for module loading
authorJean-Francois Moine <moinejf@free.fr>
Thu, 16 May 2013 15:49:16 +0000 (17:49 +0200)
committerMike Turquette <mturquette@linaro.org>
Wed, 29 May 2013 05:50:32 +0000 (22:50 -0700)
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.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-si5351.c

index efc6d5e..e4460d3 100644 (file)
@@ -1558,7 +1558,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);