Browse Source

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 <a.ryabinin@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Andrey Ryabinin 10 years ago
parent
commit
b1f85c0fec
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/video/backlight/da9052_bl.c

+ 1 - 0
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 = {