aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2005-04-16 18:25:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:25:36 -0400
commit9bfd354b1b9c2f4faee121892bdfbc1490b51ab5 (patch)
tree292b71ae99b8ad8d699237d6fc8b718636ef5f2d
parent0370affeec3e751412e917aab931d8ba52680578 (diff)
[PATCH] fix u32 vs. pm_message_t in driver/video
This fixes u32 vs. pm_message_t confusion in drivers/video. Should change no code. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/video/backlight/corgi_bl.c2
-rw-r--r--drivers/video/pxafb.c2
-rw-r--r--drivers/video/sa1100fb.c2
-rw-r--r--drivers/video/savage/savagefb_driver.c4
-rw-r--r--drivers/video/w100fb.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/backlight/corgi_bl.c b/drivers/video/backlight/corgi_bl.c
index 3c026b036c86..353cb3f73cf2 100644
--- a/drivers/video/backlight/corgi_bl.c
+++ b/drivers/video/backlight/corgi_bl.c
@@ -81,7 +81,7 @@ static void corgibl_blank(int blank)
81} 81}
82 82
83#ifdef CONFIG_PM 83#ifdef CONFIG_PM
84static int corgibl_suspend(struct device *dev, u32 state, u32 level) 84static int corgibl_suspend(struct device *dev, pm_message_t state, u32 level)
85{ 85{
86 if (level == SUSPEND_POWER_DOWN) 86 if (level == SUSPEND_POWER_DOWN)
87 corgibl_blank(FB_BLANK_POWERDOWN); 87 corgibl_blank(FB_BLANK_POWERDOWN);
diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c
index 483ad9bab539..815fbc8317fc 100644
--- a/drivers/video/pxafb.c
+++ b/drivers/video/pxafb.c
@@ -942,7 +942,7 @@ pxafb_freq_policy(struct notifier_block *nb, unsigned long val, void *data)
942 * Power management hooks. Note that we won't be called from IRQ context, 942 * Power management hooks. Note that we won't be called from IRQ context,
943 * unlike the blank functions above, so we may sleep. 943 * unlike the blank functions above, so we may sleep.
944 */ 944 */
945static int pxafb_suspend(struct device *dev, u32 state, u32 level) 945static int pxafb_suspend(struct device *dev, pm_message_t state, u32 level)
946{ 946{
947 struct pxafb_info *fbi = dev_get_drvdata(dev); 947 struct pxafb_info *fbi = dev_get_drvdata(dev);
948 948
diff --git a/drivers/video/sa1100fb.c b/drivers/video/sa1100fb.c
index 4f8043a71f21..2d29db7ef800 100644
--- a/drivers/video/sa1100fb.c
+++ b/drivers/video/sa1100fb.c
@@ -1307,7 +1307,7 @@ sa1100fb_freq_policy(struct notifier_block *nb, unsigned long val,
1307 * Power management hooks. Note that we won't be called from IRQ context, 1307 * Power management hooks. Note that we won't be called from IRQ context,
1308 * unlike the blank functions above, so we may sleep. 1308 * unlike the blank functions above, so we may sleep.
1309 */ 1309 */
1310static int sa1100fb_suspend(struct device *dev, u32 state, u32 level) 1310static int sa1100fb_suspend(struct device *dev, pm_message_t state, u32 level)
1311{ 1311{
1312 struct sa1100fb_info *fbi = dev_get_drvdata(dev); 1312 struct sa1100fb_info *fbi = dev_get_drvdata(dev);
1313 1313
diff --git a/drivers/video/savage/savagefb_driver.c b/drivers/video/savage/savagefb_driver.c
index e1c9c946be2d..5bb8d60f35c4 100644
--- a/drivers/video/savage/savagefb_driver.c
+++ b/drivers/video/savage/savagefb_driver.c
@@ -2103,7 +2103,7 @@ static void __devexit savagefb_remove (struct pci_dev *dev)
2103 } 2103 }
2104} 2104}
2105 2105
2106static int savagefb_suspend (struct pci_dev* dev, u32 state) 2106static int savagefb_suspend (struct pci_dev* dev, pm_message_t state)
2107{ 2107{
2108 struct fb_info *info = 2108 struct fb_info *info =
2109 (struct fb_info *)pci_get_drvdata(dev); 2109 (struct fb_info *)pci_get_drvdata(dev);
@@ -2118,7 +2118,7 @@ static int savagefb_suspend (struct pci_dev* dev, u32 state)
2118 release_console_sem(); 2118 release_console_sem();
2119 2119
2120 pci_disable_device(dev); 2120 pci_disable_device(dev);
2121 pci_set_power_state(dev, state); 2121 pci_set_power_state(dev, pci_choose_state(dev, state));
2122 2122
2123 return 0; 2123 return 0;
2124} 2124}
diff --git a/drivers/video/w100fb.c b/drivers/video/w100fb.c
index 057e154c8858..58cd2ad84afb 100644
--- a/drivers/video/w100fb.c
+++ b/drivers/video/w100fb.c
@@ -544,7 +544,7 @@ static void w100fb_clear_buffer(void)
544 544
545 545
546#ifdef CONFIG_PM 546#ifdef CONFIG_PM
547static int w100fb_suspend(struct device *dev, u32 state, u32 level) 547static int w100fb_suspend(struct device *dev, pm_message_t state, u32 level)
548{ 548{
549 if (level == SUSPEND_POWER_DOWN) { 549 if (level == SUSPEND_POWER_DOWN) {
550 struct fb_info *info = dev_get_drvdata(dev); 550 struct fb_info *info = dev_get_drvdata(dev);