Skip to content

Commit

Permalink
fsl-diu-db: compile fix
Browse files Browse the repository at this point in the history
This patch fixes a compile failure in 2.6.26-rc5-git5.

The variable is expected to be called ofdev.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
jeffmahoney authored and torvalds committed Jun 12, 2008
1 parent dc10885 commit f969c56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/fsl-diu-fb.c
Expand Up @@ -1320,7 +1320,7 @@ static void free_irq_local(int irq)
* Power management hooks. Note that we won't be called from IRQ context,
* unlike the blank functions above, so we may sleep.
*/
static int fsl_diu_suspend(struct of_device *dev, pm_message_t state)
static int fsl_diu_suspend(struct of_device *ofdev, pm_message_t state)
{
struct fsl_diu_data *machine_data;

Expand All @@ -1330,7 +1330,7 @@ static int fsl_diu_suspend(struct of_device *dev, pm_message_t state)
return 0;
}

static int fsl_diu_resume(struct of_device *dev)
static int fsl_diu_resume(struct of_device *ofdev)
{
struct fsl_diu_data *machine_data;

Expand Down

0 comments on commit f969c56

Please sign in to comment.