Skip to content

Commit

Permalink
fix wrong sized spinlock flags argument
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Walker authored and Linus Torvalds committed Jan 17, 2008
1 parent 7846803 commit a3c53e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/media/video/saa7134/saa7134-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a3c53e2

Please sign in to comment.