diff options
author | Pavel Machek <pavel@ucw.cz> | 2005-09-03 18:56:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 03:06:15 -0400 |
commit | 829ca9a30a2ddb727981d80fabdbff2ea86bc9ea (patch) | |
tree | 044087fb18aa4b5f5bbd233f54f9eec3439ad6de /drivers/media/video | |
parent | 7e958883bced7e435f5a76349e15684858d3477c (diff) |
[PATCH] swsusp: fix remaining u32 vs. pm_message_t confusion
Fix remaining bits of u32 vs. pm_message confusion. Should not break
anything.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/bttv-driver.c | 1 | ||||
-rw-r--r-- | drivers/media/video/msp3400.c | 4 | ||||
-rw-r--r-- | drivers/media/video/tda9887.c | 2 | ||||
-rw-r--r-- | drivers/media/video/tuner-core.c | 2 |
4 files changed, 4 insertions, 5 deletions
diff --git a/drivers/media/video/bttv-driver.c b/drivers/media/video/bttv-driver.c index eee9322ce21b..087efb4dea09 100644 --- a/drivers/media/video/bttv-driver.c +++ b/drivers/media/video/bttv-driver.c | |||
@@ -4047,7 +4047,6 @@ static int bttv_suspend(struct pci_dev *pci_dev, pm_message_t state) | |||
4047 | struct bttv_buffer_set idle; | 4047 | struct bttv_buffer_set idle; |
4048 | unsigned long flags; | 4048 | unsigned long flags; |
4049 | 4049 | ||
4050 | dprintk("bttv%d: suspend %d\n", btv->c.nr, state); | ||
4051 | 4050 | ||
4052 | /* stop dma + irqs */ | 4051 | /* stop dma + irqs */ |
4053 | spin_lock_irqsave(&btv->s_lock,flags); | 4052 | spin_lock_irqsave(&btv->s_lock,flags); |
diff --git a/drivers/media/video/msp3400.c b/drivers/media/video/msp3400.c index 62f1b8ddb98b..e956234abf24 100644 --- a/drivers/media/video/msp3400.c +++ b/drivers/media/video/msp3400.c | |||
@@ -1416,7 +1416,7 @@ static int msp_detach(struct i2c_client *client); | |||
1416 | static int msp_probe(struct i2c_adapter *adap); | 1416 | static int msp_probe(struct i2c_adapter *adap); |
1417 | static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg); | 1417 | static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg); |
1418 | 1418 | ||
1419 | static int msp_suspend(struct device * dev, u32 state, u32 level); | 1419 | static int msp_suspend(struct device * dev, pm_message_t state, u32 level); |
1420 | static int msp_resume(struct device * dev, u32 level); | 1420 | static int msp_resume(struct device * dev, u32 level); |
1421 | 1421 | ||
1422 | static void msp_wake_thread(struct i2c_client *client); | 1422 | static void msp_wake_thread(struct i2c_client *client); |
@@ -1817,7 +1817,7 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg) | |||
1817 | return 0; | 1817 | return 0; |
1818 | } | 1818 | } |
1819 | 1819 | ||
1820 | static int msp_suspend(struct device * dev, u32 state, u32 level) | 1820 | static int msp_suspend(struct device * dev, pm_message_t state, u32 level) |
1821 | { | 1821 | { |
1822 | struct i2c_client *c = container_of(dev, struct i2c_client, dev); | 1822 | struct i2c_client *c = container_of(dev, struct i2c_client, dev); |
1823 | 1823 | ||
diff --git a/drivers/media/video/tda9887.c b/drivers/media/video/tda9887.c index 108c3ad7d622..a28a395d6dfe 100644 --- a/drivers/media/video/tda9887.c +++ b/drivers/media/video/tda9887.c | |||
@@ -760,7 +760,7 @@ tda9887_command(struct i2c_client *client, unsigned int cmd, void *arg) | |||
760 | return 0; | 760 | return 0; |
761 | } | 761 | } |
762 | 762 | ||
763 | static int tda9887_suspend(struct device * dev, u32 state, u32 level) | 763 | static int tda9887_suspend(struct device * dev, pm_message_t state, u32 level) |
764 | { | 764 | { |
765 | dprintk("tda9887: suspend\n"); | 765 | dprintk("tda9887: suspend\n"); |
766 | return 0; | 766 | return 0; |
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index f0a579827a24..a155e99a263b 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c | |||
@@ -672,7 +672,7 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg) | |||
672 | return 0; | 672 | return 0; |
673 | } | 673 | } |
674 | 674 | ||
675 | static int tuner_suspend(struct device *dev, u32 state, u32 level) | 675 | static int tuner_suspend(struct device *dev, pm_message_t state, u32 level) |
676 | { | 676 | { |
677 | struct i2c_client *c = container_of (dev, struct i2c_client, dev); | 677 | struct i2c_client *c = container_of (dev, struct i2c_client, dev); |
678 | struct tuner *t = i2c_get_clientdata (c); | 678 | struct tuner *t = i2c_get_clientdata (c); |