]> err.no Git - linux-2.6/commitdiff
fix wrong sized spinlock flags argument
authorDaniel Walker <dwalker@mvista.com>
Thu, 17 Jan 2008 20:52:05 +0000 (12:52 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 17 Jan 2008 23:42:30 +0000 (15:42 -0800)
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>
drivers/media/video/saa7134/saa7134-core.c

index 4fd187ac9d7088378498f408c1b2efa2e732c142..4f0a9157ecb15d158d24ca8df77d6e6eb3a2855a 100644 (file)
@@ -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);