Re: [PATCH 7/7] MIPS: ath79: use io-accessor macros in pci-ar724x.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011.11.18. 16:22 keltezéssel, Gabor Juhos írta:
> Signed-off-by: Gabor Juhos <juhosg@xxxxxxxxxxx>
> ---
>  arch/mips/pci/pci-ar724x.c |   43 +++++++++++++++++++++++++++++--------------
>  1 files changed, 29 insertions(+), 14 deletions(-)
> 

<...>

>  
>  int __init ar724x_pcibios_init(void)
>  {
> +	int ret;
> +
> +	ar724x_pci_devcfg_base = ioremap(AR724X_PCI_CFG_BASE,
> +					 AR724X_PCI_CFG_SIZE);
> +	if (ar724x_pci_devcfg_base == NULL)
> +		goto err;
> +
>  	register_pci_controller(&ar724x_pci_controller);
>  
>  	return PCIBIOS_SUCCESSFUL;
> +
> +err:
> +	return ret;
>  }

I have messed up this part, will send a replacement patch.

Gabor



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux