diff options
-rw-r--r-- | drivers/pci/probe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 59d6c3092812..3112024bdc2a 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -276,8 +276,7 @@ static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom) | |||
276 | sz = pci_size(l, sz, (u32)PCI_ROM_ADDRESS_MASK); | 276 | sz = pci_size(l, sz, (u32)PCI_ROM_ADDRESS_MASK); |
277 | if (sz) { | 277 | if (sz) { |
278 | res->flags = (l & IORESOURCE_ROM_ENABLE) | | 278 | res->flags = (l & IORESOURCE_ROM_ENABLE) | |
279 | IORESOURCE_MEM | IORESOURCE_PREFETCH | | 279 | IORESOURCE_MEM | IORESOURCE_READONLY; |
280 | IORESOURCE_READONLY | IORESOURCE_CACHEABLE; | ||
281 | res->start = l & PCI_ROM_ADDRESS_MASK; | 280 | res->start = l & PCI_ROM_ADDRESS_MASK; |
282 | res->end = res->start + (unsigned long) sz; | 281 | res->end = res->start + (unsigned long) sz; |
283 | } | 282 | } |