[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120205062835.GA23916@ZenIV.linux.org.uk>
Date: Sun, 5 Feb 2012 06:28:35 +0000
From: Al Viro <viro@...IV.linux.org.uk>
To: Timur Tabi <timur@...escale.com>
Cc: linux-kernel@...r.kernel.org
Subject: fsl-diu: enable_lcdc() takes a pointer, not struct...
A couple of places missed in commit ddd3d905436b572ebadc09dcf2d12ca5b37020a0...
Signed-off-by: Al Viro <viro@...iv.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;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists