summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorAndrey Ryabinin <a.ryabinin@samsung.com>2015-01-21 18:06:08 +0300
committerLee Jones <lee.jones@linaro.org>2015-04-09 10:30:35 +0100
commitb1f85c0fec20e6cde2a511345f24f6133f247e70 (patch)
treeeef5b44be1abc569d93961381bf19473cfe4b24d /drivers/video
parentc6f77bc2b3f9512fd8d637a45060408061a035a9 (diff)
downloadlinux-b1f85c0fec20e6cde2a511345f24f6133f247e70.tar.bz2
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>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/da9052_bl.c1
1 files changed, 1 insertions, 0 deletions
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 = {