Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git] / drivers / regulator / hi655x-regulator.c
index 065c100e9a03592f53a4b981fe71899a1b236cba..36ae54b53814b36859b149993a198be1c269bf64 100644 (file)
@@ -214,7 +214,14 @@ static int hi655x_regulator_probe(struct platform_device *pdev)
        return 0;
 }
 
+static const struct platform_device_id hi655x_regulator_table[] = {
+       { .name = "hi655x-regulator" },
+       {},
+};
+MODULE_DEVICE_TABLE(platform, hi655x_regulator_table);
+
 static struct platform_driver hi655x_regulator_driver = {
+       .id_table = hi655x_regulator_table,
        .driver = {
                .name   = "hi655x-regulator",
        },