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-Tag: KARO-TXA5-2015-06-26~73^2 X-Git-Url: https://git.kernelconcepts.de/?a=commitdiff_plain;h=1926469377bb20d20662fc505b6b36f43b412381;p=karo-tx-linux.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 = {