diff options
author | Axel Lin <axel.lin@ingics.com> | 2021-06-16 11:44:56 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-16 15:41:17 +0100 |
commit | 686f6b31bf6cea71ca941b6dbf9e1388d54222b6 (patch) | |
tree | 8d7f03eac1602daa3bb52bf4f169c0f4b74083bb /drivers/regulator | |
parent | 512d895664a318d57de0ca3655d2bf1c280767a0 (diff) |
regulator: sy7636a: Add terminating entry for platform_device_id table
The platform_device_id table is supposed to be zero-terminated.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Alistair Francis <alistair@alistair23.me>
Link: https://lore.kernel.org/r/20210616034458.3499522-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/sy7636a-regulator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/sy7636a-regulator.c b/drivers/regulator/sy7636a-regulator.c index c384c2b6ac46..54ab1be1001e 100644 --- a/drivers/regulator/sy7636a-regulator.c +++ b/drivers/regulator/sy7636a-regulator.c @@ -110,6 +110,7 @@ static int sy7636a_regulator_probe(struct platform_device *pdev) static const struct platform_device_id sy7636a_regulator_id_table[] = { { "sy7636a-regulator", }, + { } }; MODULE_DEVICE_TABLE(platform, sy7636a_regulator_id_table); |