Skip to content

Commit f969c56

Browse files
jeffmahoneytorvalds
authored andcommitted
fsl-diu-db: compile fix
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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent dc10885 commit f969c56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/video/fsl-diu-fb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,7 @@ static void free_irq_local(int irq)
13201320
* Power management hooks. Note that we won't be called from IRQ context,
13211321
* unlike the blank functions above, so we may sleep.
13221322
*/
1323-
static int fsl_diu_suspend(struct of_device *dev, pm_message_t state)
1323+
static int fsl_diu_suspend(struct of_device *ofdev, pm_message_t state)
13241324
{
13251325
struct fsl_diu_data *machine_data;
13261326

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

1333-
static int fsl_diu_resume(struct of_device *dev)
1333+
static int fsl_diu_resume(struct of_device *ofdev)
13341334
{
13351335
struct fsl_diu_data *machine_data;
13361336

0 commit comments

Comments
 (0)