diff mbox

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

Message ID 1366397734-1416-1-git-send-email-tie-fei.zang@freescale.com (mailing list archive)
State Superseded
Headers show

Commit Message

Zang Roy-R61911 April 19, 2013, 6:55 p.m. UTC
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(-)

Comments

Zang Roy-R61911 April 19, 2013, 6:58 p.m. UTC | #1
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. UTC | #2
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
>
diff mbox

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;
 }