summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/s3c-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c
index 2e7991c7ca08..62acae2694a9 100644
--- a/drivers/video/s3c-fb.c
+++ b/drivers/video/s3c-fb.c
@@ -1378,7 +1378,7 @@ static int s3c_fb_probe(struct platform_device *pdev)
1378 return -EINVAL; 1378 return -EINVAL;
1379 } 1379 }
1380 1380
1381 pd = pdev->dev.platform_data; 1381 pd = dev_get_platdata(&pdev->dev);
1382 if (!pd) { 1382 if (!pd) {
1383 dev_err(dev, "no platform data specified\n"); 1383 dev_err(dev, "no platform data specified\n");
1384 return -EINVAL; 1384 return -EINVAL;