public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* fsl-diu: enable_lcdc() takes a pointer, not struct...
@ 2012-02-05  6:28 Al Viro
  2012-02-05 15:12 ` Tabi Timur-B04825
  0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2012-02-05  6:28 UTC (permalink / raw)
  To: Timur Tabi; +Cc: linux-kernel

A couple of places missed in commit ddd3d905436b572ebadc09dcf2d12ca5b37020a0...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

diff --git a/drivers/video/fsl-diu-fb.c b/drivers/video/fsl-diu-fb.c
index acf292b..629ae00 100644
--- a/drivers/video/fsl-diu-fb.c
+++ b/drivers/video/fsl-diu-fb.c
@@ -1432,7 +1432,7 @@ static int fsl_diu_suspend(struct platform_device *ofdev, pm_message_t state)
 	struct fsl_diu_data *data;
 
 	data = dev_get_drvdata(&ofdev->dev);
-	disable_lcdc(data->fsl_diu_info[0]);
+	disable_lcdc(&data->fsl_diu_info[0]);
 
 	return 0;
 }
@@ -1442,7 +1442,7 @@ static int fsl_diu_resume(struct platform_device *ofdev)
 	struct fsl_diu_data *data;
 
 	data = dev_get_drvdata(&ofdev->dev);
-	enable_lcdc(data->fsl_diu_info[0]);
+	enable_lcdc(&data->fsl_diu_info[0]);
 
 	return 0;
 }

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

end of thread, other threads:[~2012-02-05 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-05  6:28 fsl-diu: enable_lcdc() takes a pointer, not struct Al Viro
2012-02-05 15:12 ` Tabi Timur-B04825

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox