| 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
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__ */
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(-)