diff --git a/[refs] b/[refs] index 22743328f063..33f6a7ffb830 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e80de8503cbcaecd7637fde26635dbc825f796dd +refs/heads/master: e5de3b468795e4c58a9f0702630d28707b3ae011 diff --git a/trunk/arch/mips/pci/pci.c b/trunk/arch/mips/pci/pci.c index a8d499b0a36f..170c6650f961 100644 --- a/trunk/arch/mips/pci/pci.c +++ b/trunk/arch/mips/pci/pci.c @@ -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<