linux-mips
[Top] [All Lists]

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

To: Gabor Juhos <juhosg@openwrt.org>
Subject: Re: [PATCH 7/7] MIPS: ath79: use io-accessor macros in pci-ar724x.c
From: Gabor Juhos <juhosg@openwrt.org>
Date: Fri, 18 Nov 2011 18:26:42 +0100
Cc: Ralf Baechle <ralf@linux-mips.org>, Rene Bolldorf <xsecute@googlemail.com>, linux-mips@linux-mips.org
In-reply-to: <1321629720-29035-7-git-send-email-juhosg@openwrt.org>
References: <1321629720-29035-1-git-send-email-juhosg@openwrt.org> <1321629720-29035-7-git-send-email-juhosg@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
2011.11.18. 16:22 keltezéssel, Gabor Juhos írta:
> Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
> ---
>  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

<Prev in Thread] Current Thread [Next in Thread>