diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-01-04 12:13:15 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-01-04 12:13:15 -0700 |
commit | f7ffe19a6fab14df70bd0acca9a4836aa80b15f5 (patch) | |
tree | 8e44323b7d6d0715cc2a8c68294a73828dea3cc1 /drivers | |
parent | 7f0d21f937939d05649b95c2ff34c53f6726d11e (diff) | |
download | linux-3.10-f7ffe19a6fab14df70bd0acca9a4836aa80b15f5.tar.gz linux-3.10-f7ffe19a6fab14df70bd0acca9a4836aa80b15f5.tar.bz2 linux-3.10-f7ffe19a6fab14df70bd0acca9a4836aa80b15f5.zip |
PCI: Use "unsigned long" for __pci_enable_device_flags to match ioport.h
__pci_enable_device_flags() takes values like IORESOURCE_IO and
IORESOURCE_MEM, which are values for struct resource.flags, which is
"unsigned long", not "resource_size_t".
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 5cb5820fae4..d574fbdbf4b 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -1157,7 +1157,7 @@ int pci_reenable_device(struct pci_dev *dev) } static int __pci_enable_device_flags(struct pci_dev *dev, - resource_size_t flags) + unsigned long flags) { int err; int i, bars = 0; |