mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
In pcibios_enable_resources go back to handling all PCI_NUM_RESOURCES
resources. We tried previous but ran into problems ... Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
e80de8503c
commit
e5de3b4687
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ static int pcibios_enable_resources(struct pci_dev *dev, int mask)
|
|||
|
||||
pci_read_config_word(dev, PCI_COMMAND, &cmd);
|
||||
old_cmd = cmd;
|
||||
for(idx=0; idx<6; idx++) {
|
||||
for (idx=0; idx < PCI_NUM_RESOURCES; idx++) {
|
||||
/* Only set up the requested stuff */
|
||||
if (!(mask & (1<<idx)))
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue