Skip to content

Commit

Permalink
drivers/video: compile fixes for fsl-diu-fb.c
Browse files Browse the repository at this point in the history
Fix a compiler errors introduced in:
  commit ddd3d90
  Author: Timur Tabi <timur@freescale.com>
  drivers/video: fsl-diu-fb: merge all allocated data into one block

Signed-off-by: Michael Neuling <mikey@neuling.org>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
  • Loading branch information
Michael Neuling authored and Florian Tobias Schandinat committed Jan 28, 2012
1 parent f787f32 commit f7f5ef0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/fsl-diu-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

return 0;
}
Expand All @@ -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);

return 0;
}
Expand Down

0 comments on commit f7f5ef0

Please sign in to comment.