linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] video: fbdev: s3c-fb: Constify platform_device_id
@ 2015-07-07 13:00 Krzysztof Kozlowski
  2015-07-08  4:34 ` Jingoo Han
  0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-07 13:00 UTC (permalink / raw)
  To: Jingoo Han, Jean-Christophe Plagniol-Villard, Tomi Valkeinen,
	linux-fbdev, linux-kernel
  Cc: Krzysztof Kozlowski

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>
---
 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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-21  5:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-07 13:00 [PATCH RESEND] video: fbdev: s3c-fb: Constify platform_device_id Krzysztof Kozlowski
2015-07-08  4:34 ` Jingoo Han
2015-07-24  6:12   ` Krzysztof Kozlowski
2015-08-20  9:16     ` Tomi Valkeinen
2015-08-21  1:46       ` Krzysztof Kozlowski
2015-08-21  5:57         ` Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).