diff options
author | Daniel Walker <dwalker@mvista.com> | 2008-01-17 21:52:05 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-18 00:42:30 +0100 |
commit | a3c53e2310192e63e49610ffcb6a36b2a706fa3e (patch) | |
tree | 77cdd7b4c0636e1f18e6bec798a30ebe36056829 /drivers/media | |
parent | Fix unbalanced helper_lock in kernel/kmod.c (diff) | |
download | linux-a3c53e2310192e63e49610ffcb6a36b2a706fa3e.tar.xz linux-a3c53e2310192e63e49610ffcb6a36b2a706fa3e.zip |
fix wrong sized spinlock flags argument
Correct wrong sized spinlock flags, form int to unsigned long.
Signed-off-by: Daniel Walker <dwalker@mvista.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c index 4fd187ac9d70..4f0a9157ecb1 100644 --- a/drivers/media/video/saa7134/saa7134-core.c +++ b/drivers/media/video/saa7134/saa7134-core.c @@ -1202,9 +1202,8 @@ static int saa7134_suspend(struct pci_dev *pci_dev , pm_message_t state) static int saa7134_resume(struct pci_dev *pci_dev) { - struct saa7134_dev *dev = pci_get_drvdata(pci_dev); - unsigned int flags; + unsigned long flags; pci_restore_state(pci_dev); pci_set_power_state(pci_dev, PCI_D0); |