Skip to content
Snippets Groups Projects
Commit 9807362b authored by Jean-Francois Moine's avatar Jean-Francois Moine Committed by Mike Turquette
Browse files

clk: si5351: 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.

Signed-off-by: default avatarJean-Francois Moine <moinejf@free.fr>
Acked-by: default avatarJason Cooper <jason@lakedaemon.net>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent 4f985b4c
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment