[Armadeus-commitlog] SF.net SVN: armadeus: [819] trunk/target/linux/modules/backlight/imx_bl_2.6 .2
Brought to you by:
sszy
|
From: <th...@us...> - 2008-06-05 15:01:59
|
Revision: 819
http://armadeus.svn.sourceforge.net/armadeus/?rev=819&view=rev
Author: thom25
Date: 2008-06-05 08:01:47 -0700 (Thu, 05 Jun 2008)
Log Message:
-----------
[LINUX] fix build error when PM is activated
Modified Paths:
--------------
trunk/target/linux/modules/backlight/imx_bl_2.6.23.c
Modified: trunk/target/linux/modules/backlight/imx_bl_2.6.23.c
===================================================================
--- trunk/target/linux/modules/backlight/imx_bl_2.6.23.c 2008-06-02 15:48:28 UTC (rev 818)
+++ trunk/target/linux/modules/backlight/imx_bl_2.6.23.c 2008-06-05 15:01:47 UTC (rev 819)
@@ -65,7 +65,7 @@
#ifdef CONFIG_PM
static int imxbl_suspend(struct platform_device *dev, pm_message_t state)
{
- struct backlight_device *bd = platform_get_drvdata(pdev);
+ struct backlight_device *bd = platform_get_drvdata(dev);
imxbl_flags |= IMXBL_SUSPENDED;
backlight_update_status(bd);
@@ -74,7 +74,7 @@
static int imxbl_resume(struct platform_device *dev)
{
- struct backlight_device *bd = platform_get_drvdata(pdev);
+ struct backlight_device *bd = platform_get_drvdata(dev);
imxbl_flags &= ~IMXBL_SUSPENDED;
backlight_update_status(bd);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|