Browse Source

video: fbdev: s3c-fb: Constify platform_device_id

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>
Krzysztof Kozlowski 10 years ago
parent
commit
b06ece93cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/video/fbdev/s3c-fb.c

+ 1 - 1
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,