Patchwork powerpc/fsl-pci: fix setup_pci_atmu() parameter issue

login
register
mail settings
Submitter Zang Roy-R61911
Date April 19, 2013, 6:55 p.m.
Message ID <1366397734-1416-1-git-send-email-tie-fei.zang@freescale.com>
Download mbox | patch
Permalink /patch/237916/
State Superseded
Headers show

Comments

Zang Roy-R61911 - April 19, 2013, 6:55 p.m.
setup_pci_atmu() only has one parameter and remove the extra one, or
build will fail due to un-match.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
---
 arch/powerpc/sysdev/fsl_pci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Zang Roy-R61911 - April 19, 2013, 6:58 p.m.
On 04/20/2013 02:55 AM, Roy Zang wrote:
> setup_pci_atmu() only has one parameter and remove the extra one, or
> build will fail due to un-match.
>
> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
> ---
>
based on Kumar's next branch.
Roy
Michael Neuling - April 22, 2013, 6:56 a.m.
This was already posted about a week back.  Kumar can you please take
it?

http://patchwork.ozlabs.org/patch/236494/

Mikey

Roy Zang <tie-fei.zang@freescale.com> wrote:

> setup_pci_atmu() only has one parameter and remove the extra one, or
> build will fail due to un-match.
> 
> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
> ---
>  arch/powerpc/sysdev/fsl_pci.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c
> index 40ffe29..f823304 100644
> --- a/arch/powerpc/sysdev/fsl_pci.c
> +++ b/arch/powerpc/sysdev/fsl_pci.c
> @@ -978,7 +978,7 @@ static int fsl_pci_resume(struct device *dev)
>  		return -ENODEV;
>  	}
>  
> -	setup_pci_atmu(hose, &pci_rsrc);
> +	setup_pci_atmu(hose);
>  
>  	return 0;
>  }
> -- 
> 1.7.9.5
> 
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
>

Patch

diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c
index 40ffe29..f823304 100644
--- a/arch/powerpc/sysdev/fsl_pci.c
+++ b/arch/powerpc/sysdev/fsl_pci.c
@@ -978,7 +978,7 @@  static int fsl_pci_resume(struct device *dev)
 		return -ENODEV;
 	}
 
-	setup_pci_atmu(hose, &pci_rsrc);
+	setup_pci_atmu(hose);
 
 	return 0;
 }