projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d86672
)
video: backlight: da9052: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:38:38 +0000
(
00:38
+0900)
committer
Lee 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
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/da9052_bl.c
b/drivers/video/backlight/da9052_bl.c
index b1943e7735a12881130dc3d94b4266a992fc4230..fd2be417aa64d5a247756a7ebacdf6c3472fc012 100644
(file)
--- a/
drivers/video/backlight/da9052_bl.c
+++ b/
drivers/video/backlight/da9052_bl.c
@@
-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,