projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git]
/
target
/
linux
/
rb532
/
files
/
arch
/
mips
/
pci
/
fixup-rb500.c
diff --git
a/target/linux/rb532/files/arch/mips/pci/fixup-rb500.c
b/target/linux/rb532/files/arch/mips/pci/fixup-rb500.c
index
ceb53b0
..
76c465f
100644
(file)
--- a/
target/linux/rb532/files/arch/mips/pci/fixup-rb500.c
+++ b/
target/linux/rb532/files/arch/mips/pci/fixup-rb500.c
@@
-24,12
+24,14
@@
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <linux/autoconf.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/init.h>
+#include <asm/pci.h>
+#include <asm/io.h>
+
#include <asm/rc32434/rc32434.h>
static int __devinitdata irq_map[2][12] = {
#include <asm/rc32434/rc32434.h>
static int __devinitdata irq_map[2][12] = {
@@
-37,7
+39,7
@@
static int __devinitdata irq_map[2][12] = {
{ 0, 0, 1, 3, 0, 2, 1, 3, 0, 2, 1, 3 }
};
{ 0, 0, 1, 3, 0, 2, 1, 3, 0, 2, 1, 3 }
};
-int __
devinit pcibios_map_irq(
struct pci_dev *dev, u8 slot, u8 pin)
+int __
init pcibios_map_irq(const
struct pci_dev *dev, u8 slot, u8 pin)
{
int irq = 0;
{
int irq = 0;
This page took
0.023171 seconds
and
4
git commands to generate.