summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorAndrey Ryabinin <a.ryabinin@samsung.com>2015-01-21 16:06:08 +0100
committerLee Jones <lee.jones@linaro.org>2015-04-09 11:30:35 +0200
commitb1f85c0fec20e6cde2a511345f24f6133f247e70 (patch)
treeeef5b44be1abc569d93961381bf19473cfe4b24d /drivers/video
parentbacklight: 88pm860x_bl: Use of_get_child_by_name() instead of refcount hack (diff)
downloadlinux-b1f85c0fec20e6cde2a511345f24f6133f247e70.tar.xz
linux-b1f85c0fec20e6cde2a511345f24f6133f247e70.zip
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 = {