From: Andrey Ryabinin Date: Wed, 21 Jan 2015 15:06:08 +0000 (+0300) Subject: backlight: da9052_bl: Terminate da9052_wled_ids array with empty element X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1f85c0fec20e6cde2a511345f24f6133f247e70;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git backlight: da9052_bl: Terminate da9052_wled_ids array with empty element Array of platform_device_id elements should be terminated with empty element. Signed-off-by: Andrey Ryabinin Signed-off-by: Lee Jones --- diff --git a/drivers/video/backlight/da9052_bl.c b/drivers/video/backlight/da9052_bl.c index d4bd74bd5070..b1943e7735a1 100644 --- a/drivers/video/backlight/da9052_bl.c +++ b/drivers/video/backlight/da9052_bl.c @@ -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 = {