mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[amazon] work on pci.
This is from ticket #6374 Michael Richter thanks for your patch. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18933 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
--- 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;
|
||||
|
||||
Reference in New Issue
Block a user