projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bnx2: Fix problem of using wrong IRQ handler.
[linux-2.6]
/
drivers
/
pnp
/
quirks.c
diff --git
a/drivers/pnp/quirks.c
b/drivers/pnp/quirks.c
index
3d2e560
..
8473fe5
100644
(file)
--- a/
drivers/pnp/quirks.c
+++ b/
drivers/pnp/quirks.c
@@
-245,7
+245,7
@@
static void quirk_system_pci_resources(struct pnp_dev *dev)
*/
for_each_pci_dev(pdev) {
for (i = 0; i < DEVICE_COUNT_RESOURCE; i++) {
- unsigned
int
type;
+ unsigned
long
type;
type = pci_resource_flags(pdev, i) &
(IORESOURCE_IO | IORESOURCE_MEM);