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:
cb73b40
)
video: fbdev: s3c-fb: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Tue, 7 Jul 2015 13:00:47 +0000
(22:00 +0900)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 21 Aug 2015 05:56:19 +0000
(08:56 +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/s3c-fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/s3c-fb.c
b/drivers/video/fbdev/s3c-fb.c
index 7e3a05fc47aa341b2b2a9a97c4031f2d37741b0f..f72dd12456f962eba79eec43fb706be9dc1cdd39 100644
(file)
--- a/
drivers/video/fbdev/s3c-fb.c
+++ b/
drivers/video/fbdev/s3c-fb.c
@@
-1938,7
+1938,7
@@
static struct s3c_fb_driverdata s3c_fb_data_s3c2443 = {
},
};
-static struct platform_device_id s3c_fb_driver_ids[] = {
+static
const
struct platform_device_id s3c_fb_driver_ids[] = {
{
.name = "s3c-fb",
.driver_data = (unsigned long)&s3c_fb_data_64xx,