From: Axel Lin Date: Wed, 16 Jun 2021 03:44:56 +0000 (+0800) Subject: regulator: sy7636a: Add terminating entry for platform_device_id table X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=686f6b31bf6cea71ca941b6dbf9e1388d54222b6;p=linux.git 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 Reviewed-by: Alistair Francis Link: https://lore.kernel.org/r/20210616034458.3499522-1-axel.lin@ingics.com Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/sy7636a-regulator.c b/drivers/regulator/sy7636a-regulator.c index c384c2b6ac46a..54ab1be1001ee 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);