aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/s3c2410fb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/video/s3c2410fb.c b/drivers/video/s3c2410fb.c
index 2219ae56a0e..5fea847acd1 100644
--- a/drivers/video/s3c2410fb.c
+++ b/drivers/video/s3c2410fb.c
@@ -972,7 +972,10 @@ static int __init s3c24xxfb_probe(struct platform_device *pdev,
972 } 972 }
973 973
974 /* create device files */ 974 /* create device files */
975 device_create_file(&pdev->dev, &dev_attr_debug); 975 ret = device_create_file(&pdev->dev, &dev_attr_debug);
976 if (ret) {
977 printk(KERN_ERR "failed to add debug attribute\n");
978 }
976 979
977 printk(KERN_INFO "fb%d: %s frame buffer device\n", 980 printk(KERN_INFO "fb%d: %s frame buffer device\n",
978 fbinfo->node, fbinfo->fix.id); 981 fbinfo->node, fbinfo->fix.id);