diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2009-11-28 22:17:37 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2009-11-28 22:17:37 +0000 |
commit | 2ee2679ac97098e9cf394ca4e78d2cc6ac5fad85 (patch) | |
tree | a94ddbd1439f5a86a7e15ba5c920a1ce039636ba /target/linux/amazon/patches-2.6.30/230-fix_pci.patch | |
parent | 9714c8b6425d6fe28b7aac6fbdcb207c05409835 (diff) | |
download | upstream-2ee2679ac97098e9cf394ca4e78d2cc6ac5fad85.tar.gz upstream-2ee2679ac97098e9cf394ca4e78d2cc6ac5fad85.tar.bz2 upstream-2ee2679ac97098e9cf394ca4e78d2cc6ac5fad85.zip |
Add kernel 2.6.30 support
The device is booting and Ethernet is working, but nothing more was tested.
SVN-Revision: 18589
Diffstat (limited to 'target/linux/amazon/patches-2.6.30/230-fix_pci.patch')
-rw-r--r-- | target/linux/amazon/patches-2.6.30/230-fix_pci.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/amazon/patches-2.6.30/230-fix_pci.patch b/target/linux/amazon/patches-2.6.30/230-fix_pci.patch new file mode 100644 index 0000000000..84d88dd92c --- /dev/null +++ b/target/linux/amazon/patches-2.6.30/230-fix_pci.patch @@ -0,0 +1,20 @@ +--- a/arch/mips/amazon/pci.c ++++ b/arch/mips/amazon/pci.c +@@ -182,7 +182,7 @@ static struct pci_controller amazon_pci_ + .io_resource = &pci_io_resource + }; + +-int __init 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) + { + switch (slot) { + case 13: +@@ -240,7 +240,7 @@ int pcibios_plat_dev_init(struct pci_dev + return 0; + } + +-int amazon_pci_init(void) ++int __init amazon_pci_init(void) + { + u32 temp_buffer; + |