Commit 686f6b31 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

regulator: sy7636a: Add terminating entry for platform_device_id table

The platform_device_id table is supposed to be zero-terminated.
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Reviewed-by: default avatarAlistair Francis <alistair@alistair23.me>
Link: https://lore.kernel.org/r/20210616034458.3499522-1-axel.lin@ingics.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 512d8956
...@@ -110,6 +110,7 @@ static int sy7636a_regulator_probe(struct platform_device *pdev) ...@@ -110,6 +110,7 @@ static int sy7636a_regulator_probe(struct platform_device *pdev)
static const struct platform_device_id sy7636a_regulator_id_table[] = { static const struct platform_device_id sy7636a_regulator_id_table[] = {
{ "sy7636a-regulator", }, { "sy7636a-regulator", },
{ }
}; };
MODULE_DEVICE_TABLE(platform, sy7636a_regulator_id_table); MODULE_DEVICE_TABLE(platform, sy7636a_regulator_id_table);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment