Patchwork [U-Boot,1/4] mpc5xxx: add pci_mpc5xxx_init prototype to common header

login
register
mail settings
Submitter Anatolij Gustschin
Date Aug. 13, 2012, 9:38 a.m.
Message ID <1344850692-29748-1-git-send-email-agust@denx.de>
Download mbox | patch
Permalink /patch/176890/
State Accepted
Commit 3d500013633510cd77f8a7a809150810b75a545e
Delegated to: Wolfgang Denk
Headers show

Comments

Anatolij Gustschin - Aug. 13, 2012, 9:38 a.m.
Add pci_mpc5xxx_init() prototype to the header file, so board .c files
do not need to add extern pci_mpc5xxx_init() declaration.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
 include/mpc5xxx.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Wolfgang Denk - Sept. 1, 2012, 12:19 p.m.
Dear Anatolij Gustschin,

In message <1344850692-29748-1-git-send-email-agust@denx.de> you wrote:
> Add pci_mpc5xxx_init() prototype to the header file, so board .c files
> do not need to add extern pci_mpc5xxx_init() declaration.
> 
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
>  include/mpc5xxx.h |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Patch

diff --git a/include/mpc5xxx.h b/include/mpc5xxx.h
index 859d696..84d27c9 100644
--- a/include/mpc5xxx.h
+++ b/include/mpc5xxx.h
@@ -898,8 +898,11 @@  struct mpc5xxx_xlb {
 	volatile u32 snoop_window;	/* XLB + 0x70 */
 };
 
+struct pci_controller;
+
 /* function prototypes */
 void loadtask(int basetask, int tasks);
+void pci_mpc5xxx_init(struct pci_controller *);
 
 #endif /* __ASSEMBLY__ */