-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MIPS: ath79: make ath724x_pcibios_init visible for external code
Signed-off-by: René Bolldorf <xsecute@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3487/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
- Loading branch information
Gabor Juhos
authored and
Ralf Baechle
committed
May 15, 2012
1 parent
3a6208d
commit 659243c
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Atheros 724x PCI support | ||
* | ||
* Copyright (C) 2011 René Bolldorf <xsecute@googlemail.com> | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License version 2 as published | ||
* by the Free Software Foundation. | ||
*/ | ||
|
||
#ifndef __ASM_MACH_ATH79_PCI_H | ||
#define __ASM_MACH_ATH79_PCI_H | ||
|
||
#if defined(CONFIG_PCI) && defined(CONFIG_SOC_AR724X) | ||
int ath724x_pcibios_init(void); | ||
#else | ||
static inline int ath724x_pcibios_init(void) { return 0; } | ||
#endif | ||
|
||
#endif /* __ASM_MACH_ATH79_PCI_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters