video: backlight: da9052: Constify platform_device_id
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:38:38 +0000 (00:38 +0900)
committerLee Jones <lee.jones@linaro.org>
Tue, 23 Jun 2015 14:28:59 +0000 (15:28 +0100)
The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/da9052_bl.c

index b1943e7735a12881130dc3d94b4266a992fc4230..fd2be417aa64d5a247756a7ebacdf6c3472fc012 100644 (file)
@@ -152,7 +152,7 @@ static int da9052_backlight_remove(struct platform_device *pdev)
        return 0;
 }
 
-static struct platform_device_id da9052_wled_ids[] = {
+static const struct platform_device_id da9052_wled_ids[] = {
        {
                .name           = "da9052-wled1",
                .driver_data    = DA9052_TYPE_WLED1,