]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/leds/leds-max77650.c
Merge tag 'core-debugobjects-2020-01-28' of git://git.kernel.org/pub/scm/linux/kernel...
[linux.git] / drivers / leds / leds-max77650.c
index 4c2d0b3c6dadcc1492d2d25d5dc3a9f8d4480bde..a0d4b725c917801c31ba0f1beee5a5a366c944af 100644 (file)
@@ -135,9 +135,16 @@ static int max77650_led_probe(struct platform_device *pdev)
        return rv;
 }
 
+static const struct of_device_id max77650_led_of_match[] = {
+       { .compatible = "maxim,max77650-led" },
+       { }
+};
+MODULE_DEVICE_TABLE(of, max77650_led_of_match);
+
 static struct platform_driver max77650_led_driver = {
        .driver = {
                .name = "max77650-led",
+               .of_match_table = max77650_led_of_match,
        },
        .probe = max77650_led_probe,
 };