Commit f969c5672b16b857e5231ad3c78f08d8ef3305aa
Committed by
Linus Torvalds
1 parent
dc10885d68
Exists in
master
and in
4 other branches
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 <jeffm@suse.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/video/fsl-diu-fb.c
... | ... | @@ -1320,7 +1320,7 @@ |
1320 | 1320 | * Power management hooks. Note that we won't be called from IRQ context, |
1321 | 1321 | * unlike the blank functions above, so we may sleep. |
1322 | 1322 | */ |
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) | |
1324 | 1324 | { |
1325 | 1325 | struct fsl_diu_data *machine_data; |
1326 | 1326 | |
... | ... | @@ -1330,7 +1330,7 @@ |
1330 | 1330 | return 0; |
1331 | 1331 | } |
1332 | 1332 | |
1333 | -static int fsl_diu_resume(struct of_device *dev) | |
1333 | +static int fsl_diu_resume(struct of_device *ofdev) | |
1334 | 1334 | { |
1335 | 1335 | struct fsl_diu_data *machine_data; |
1336 | 1336 |