projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e46cd7
)
video: fbdev: imxfb: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:38:39 +0000
(
00:38
+0900)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 12 Jun 2015 09:40:27 +0000
(12:40 +0300)
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: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/imxfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/imxfb.c
b/drivers/video/fbdev/imxfb.c
index 84d1d29e532cb6ceed4c698b16e249dc69476c36..cee88603efc9e40195430fe1a745eebefb97ef0b 100644
(file)
--- a/
drivers/video/fbdev/imxfb.c
+++ b/
drivers/video/fbdev/imxfb.c
@@
-170,7
+170,7
@@
struct imxfb_info {
struct regulator *lcd_pwr;
};
-static struct platform_device_id imxfb_devtype[] = {
+static
const
struct platform_device_id imxfb_devtype[] = {
{
.name = "imx1-fb",
.driver_data = IMX1_FB,