[PATCH RESEND] video: fbdev: s3c-fb: Constify platform_device_id

Subsystems: framebuffer layer, samsung framebuffer driver, the rest

STALE4022d

6 messages, 4 authors, 2015-08-21 · open the first message on its own page

[PATCH RESEND] video: fbdev: s3c-fb: Constify platform_device_id

From: Krzysztof Kozlowski <hidden>
Date: 2015-07-07 13:01:31

The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <redacted>
---
 drivers/video/fbdev/s3c-fb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/s3c-fb.c b/drivers/video/fbdev/s3c-fb.c
index 7e3a05fc47aa..f72dd12456f9 100644
--- 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,
-- 
2.1.4

Re: [PATCH RESEND] video: fbdev: s3c-fb: Constify platform_device_id

From: Jingoo Han <jingoohan1@gmail.com>
Date: 2015-07-08 04:34:48

On 2015. 7. 7., at PM 10:00, Krzysztof Kozlowski [off-list ref] wrote:
The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <redacted>
Acked-by: Jingoo Han <jingoohan1@gmail.com>

Best regards,
Jingoo Han
quoted hunk
---
drivers/video/fbdev/s3c-fb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/s3c-fb.c b/drivers/video/fbdev/s3c-fb.c
index 7e3a05fc47aa..f72dd12456f9 100644
--- 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,
-- 
2.1.4

Re: [PATCH RESEND] video: fbdev: s3c-fb: Constify platform_device_id

From: Krzysztof Kozlowski <hidden>
Date: 2015-07-24 06:12:26

2015-07-08 13:34 GMT+09:00 Jingoo Han [off-list ref]:
On 2015. 7. 7., at PM 10:00, Krzysztof Kozlowski [off-list ref] wrote:
quoted
The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <redacted>
Acked-by: Jingoo Han <jingoohan1@gmail.com>

Best regards,
Jingoo Han
Seems nobody is picking it up, so I merge it through Samsung-SoC tree.
If there are any objections please let me know.

Best regards,
Krzysztof
quoted
---
drivers/video/fbdev/s3c-fb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/s3c-fb.c b/drivers/video/fbdev/s3c-fb.c
index 7e3a05fc47aa..f72dd12456f9 100644
--- 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,
--
2.1.4

Re: [PATCH RESEND] video: fbdev: s3c-fb: Constify platform_device_id

From: Tomi Valkeinen <hidden>
Date: 2015-08-20 09:16:28


On 24/07/15 09:12, Krzysztof Kozlowski wrote:
2015-07-08 13:34 GMT+09:00 Jingoo Han [off-list ref]:
quoted
On 2015. 7. 7., at PM 10:00, Krzysztof Kozlowski [off-list ref] wrote:
quoted
The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <redacted>
Acked-by: Jingoo Han <jingoohan1@gmail.com>

Best regards,
Jingoo Han
Seems nobody is picking it up, so I merge it through Samsung-SoC tree.
If there are any objections please let me know.
I can pick this up if you didn't already do that.

 Tomi

Re: [PATCH RESEND] video: fbdev: s3c-fb: Constify platform_device_id

From: Krzysztof Kozlowski <hidden>
Date: 2015-08-21 01:46:31

On 20.08.2015 18:16, Tomi Valkeinen wrote:

On 24/07/15 09:12, Krzysztof Kozlowski wrote:
quoted
2015-07-08 13:34 GMT+09:00 Jingoo Han [off-list ref]:
quoted
On 2015. 7. 7., at PM 10:00, Krzysztof Kozlowski [off-list ref] wrote:
quoted
The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <redacted>
Acked-by: Jingoo Han <jingoohan1@gmail.com>

Best regards,
Jingoo Han
Seems nobody is picking it up, so I merge it through Samsung-SoC tree.
If there are any objections please let me know.
I can pick this up if you didn't already do that.
Could you? It would be great.
Kukjin did not pick it up so it is still waiting for some attention. :)

Best regards,
Krzysztof

Re: [PATCH RESEND] video: fbdev: s3c-fb: Constify platform_device_id

From: Tomi Valkeinen <hidden>
Date: 2015-08-21 05:57:20


On 21/08/15 04:46, Krzysztof Kozlowski wrote:
On 20.08.2015 18:16, Tomi Valkeinen wrote:
quoted

On 24/07/15 09:12, Krzysztof Kozlowski wrote:
quoted
2015-07-08 13:34 GMT+09:00 Jingoo Han [off-list ref]:
quoted
On 2015. 7. 7., at PM 10:00, Krzysztof Kozlowski [off-list ref] wrote:
quoted
The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <redacted>
Acked-by: Jingoo Han <jingoohan1@gmail.com>

Best regards,
Jingoo Han
Seems nobody is picking it up, so I merge it through Samsung-SoC tree.
If there are any objections please let me know.
I can pick this up if you didn't already do that.
Could you? It would be great.
Kukjin did not pick it up so it is still waiting for some attention. :)
Ok. I've queued this for 4.3.

 Tomi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help