Jia Hongtao <b38...@freescale.com> wrote:

> Fix the following warning:
> arch/powerpc/sysdev/fsl_pci.c: In function 'fsl_pci_probe':
> arch/powerpc/sysdev/fsl_pci.c:867:25: error: unused variable 'hose'
> 
> Signed-off-by: Jia Hongtao <b38...@freescale.com>

Acked-by: Michael Neuling <mi...@neuling.org>

> ---
>  arch/powerpc/sysdev/fsl_pci.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c
> index 2ff3576..3d6f4d8 100644
> --- a/arch/powerpc/sysdev/fsl_pci.c
> +++ b/arch/powerpc/sysdev/fsl_pci.c
> @@ -864,7 +864,9 @@ static int __devinit fsl_pci_probe(struct platform_device 
> *pdev)
>  {
>       int ret;
>       struct device_node *node;
> +#ifdef CONFIG_SWIOTLB
>       struct pci_controller *hose;
> +#endif
>  
>       node = pdev->dev.of_node;
>       ret = fsl_add_bridge(node, fsl_pci_primary == node);
> -- 
> 1.7.5.1
> 
> 
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to