backlight: da9052_bl: Terminate da9052_wled_ids array with empty element
authorAndrey Ryabinin <a.ryabinin@samsung.com>
Wed, 21 Jan 2015 15:06:08 +0000 (18:06 +0300)
committerLee Jones <lee.jones@linaro.org>
Thu, 9 Apr 2015 09:30:35 +0000 (10:30 +0100)
Array of platform_device_id elements should be terminated
with empty element.

Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/da9052_bl.c

index d4bd74b..b1943e7 100644 (file)
@@ -165,6 +165,7 @@ static struct platform_device_id da9052_wled_ids[] = {
                .name           = "da9052-wled3",
                .driver_data    = DA9052_TYPE_WLED3,
        },
+       { },
 };
 
 static struct platform_driver da9052_wled_driver = {