projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f57e916
)
Fix broken fix for fsl-diu-db
author
Takashi Iwai
<
[email protected]
>
Tue, 8 Jul 2008 16:41:17 +0000
(18:41 +0200)
committer
Linus Torvalds
<
[email protected]
>
Tue, 8 Jul 2008 19:51:08 +0000
(12:51 -0700)
On 2.6.26-rc9, the commit
05946bce839b4fed5442dbfab77060fb75e051f3
("fsl_diu_fb: fix build with CONFIG_PM=y, plus fix some warnings")
breaks its previous fix
f969c5672b16b857e5231ad3c78f08d8ef3305aa
("fsl-diu-db: compile fix")
This patch reverts the broken part.
Signed-off-by: Takashi Iwai <
[email protected]
>
Acked-by: Anton Vorontsov <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/fsl-diu-fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fsl-diu-fb.c
b/drivers/video/fsl-diu-fb.c
index 712dabc6269f8317f7754bd1e9e68b4c256fe705..09d7e22c6fefa3ee277cba3d5c85191dddc86ecb 100644
(file)
--- a/
drivers/video/fsl-diu-fb.c
+++ b/
drivers/video/fsl-diu-fb.c
@@
-1324,7
+1324,7
@@
static int fsl_diu_suspend(struct of_device *ofdev, pm_message_t state)
{
struct fsl_diu_data *machine_data;
- machine_data = dev_get_drvdata(&dev->dev);
+ machine_data = dev_get_drvdata(&
of
dev->dev);
disable_lcdc(machine_data->fsl_diu_info[0]);
return 0;
@@
-1334,7
+1334,7
@@
static int fsl_diu_resume(struct of_device *ofdev)
{
struct fsl_diu_data *machine_data;
- machine_data = dev_get_drvdata(&dev->dev);
+ machine_data = dev_get_drvdata(&
of
dev->dev);
enable_lcdc(machine_data->fsl_diu_info[0]);
return 0;