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 d4bd74bd5070709215c6ec4db409af67c841c4e8..b1943e7735a12881130dc3d94b4266a992fc4230 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 = {