Commit f7257d38 authored by Ralf Baechle's avatar Ralf Baechle

MIPS: PCI: Add missing __devinit attributions to fixup functions.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent a6196bab
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#define VIA_COBALT_BRD_ID_REG 0x94 #define VIA_COBALT_BRD_ID_REG 0x94
#define VIA_COBALT_BRD_REG_to_ID(reg) ((unsigned char)(reg) >> 4) #define VIA_COBALT_BRD_REG_to_ID(reg) ((unsigned char)(reg) >> 4)
static void qube_raq_galileo_early_fixup(struct pci_dev *dev) static void __devinit qube_raq_galileo_early_fixup(struct pci_dev *dev)
{ {
if (dev->devfn == PCI_DEVFN(0, 0) && if (dev->devfn == PCI_DEVFN(0, 0) &&
(dev->class >> 8) == PCI_CLASS_MEMORY_OTHER) { (dev->class >> 8) == PCI_CLASS_MEMORY_OTHER) {
...@@ -51,7 +51,7 @@ static void qube_raq_galileo_early_fixup(struct pci_dev *dev) ...@@ -51,7 +51,7 @@ static void qube_raq_galileo_early_fixup(struct pci_dev *dev)
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_MARVELL, PCI_DEVICE_ID_MARVELL_GT64111, DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_MARVELL, PCI_DEVICE_ID_MARVELL_GT64111,
qube_raq_galileo_early_fixup); qube_raq_galileo_early_fixup);
static void qube_raq_via_bmIDE_fixup(struct pci_dev *dev) static void __devinit qube_raq_via_bmIDE_fixup(struct pci_dev *dev)
{ {
unsigned short cfgword; unsigned short cfgword;
unsigned char lt; unsigned char lt;
...@@ -74,7 +74,7 @@ static void qube_raq_via_bmIDE_fixup(struct pci_dev *dev) ...@@ -74,7 +74,7 @@ static void qube_raq_via_bmIDE_fixup(struct pci_dev *dev)
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1, DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1,
qube_raq_via_bmIDE_fixup); qube_raq_via_bmIDE_fixup);
static void qube_raq_galileo_fixup(struct pci_dev *dev) static void __devinit qube_raq_galileo_fixup(struct pci_dev *dev)
{ {
if (dev->devfn != PCI_DEVFN(0, 0)) if (dev->devfn != PCI_DEVFN(0, 0))
return; return;
...@@ -129,7 +129,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL, PCI_DEVICE_ID_MARVELL_GT64111, ...@@ -129,7 +129,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL, PCI_DEVICE_ID_MARVELL_GT64111,
int cobalt_board_id; int cobalt_board_id;
static void qube_raq_via_board_id_fixup(struct pci_dev *dev) static void __devinit qube_raq_via_board_id_fixup(struct pci_dev *dev)
{ {
u8 id; u8 id;
int retval; int retval;
......
...@@ -47,7 +47,7 @@ int __devinit pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) ...@@ -47,7 +47,7 @@ int __devinit pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
return irq + GROUP4_IRQ_BASE + 4; return irq + GROUP4_IRQ_BASE + 4;
} }
static void rc32434_pci_early_fixup(struct pci_dev *dev) static void __devinit rc32434_pci_early_fixup(struct pci_dev *dev)
{ {
if (PCI_SLOT(dev->devfn) == 6 && dev->bus->number == 0) { if (PCI_SLOT(dev->devfn) == 6 && dev->bus->number == 0) {
/* disable prefetched memory range */ /* disable prefetched memory range */
......
...@@ -411,7 +411,7 @@ struct pci_ops bcm63xx_cb_ops = { ...@@ -411,7 +411,7 @@ struct pci_ops bcm63xx_cb_ops = {
* only one IO window, so it cannot be shared by PCI and cardbus, use * only one IO window, so it cannot be shared by PCI and cardbus, use
* fixup to choose and detect unhandled configuration * fixup to choose and detect unhandled configuration
*/ */
static void bcm63xx_fixup(struct pci_dev *dev) static void __devinit bcm63xx_fixup(struct pci_dev *dev)
{ {
static int io_window = -1; static int io_window = -1;
int i, found, new_io_window; int i, found, new_io_window;
......
...@@ -304,7 +304,7 @@ static void __devinit quirk_slc90e66_bridge(struct pci_dev *dev) ...@@ -304,7 +304,7 @@ static void __devinit quirk_slc90e66_bridge(struct pci_dev *dev)
smsc_fdc37m81x_config_end(); smsc_fdc37m81x_config_end();
} }
static void quirk_slc90e66_ide(struct pci_dev *dev) static void __devinit quirk_slc90e66_ide(struct pci_dev *dev)
{ {
unsigned char dat; unsigned char dat;
int regs[2] = {0x41, 0x43}; int regs[2] = {0x41, 0x43};
...@@ -339,7 +339,7 @@ static void quirk_slc90e66_ide(struct pci_dev *dev) ...@@ -339,7 +339,7 @@ static void quirk_slc90e66_ide(struct pci_dev *dev)
} }
#endif /* CONFIG_TOSHIBA_FPCIB0 */ #endif /* CONFIG_TOSHIBA_FPCIB0 */
static void tc35815_fixup(struct pci_dev *dev) static void __devinit tc35815_fixup(struct pci_dev *dev)
{ {
/* This device may have PM registers but not they are not suported. */ /* This device may have PM registers but not they are not suported. */
if (dev->pm_cap) { if (dev->pm_cap) {
...@@ -348,7 +348,7 @@ static void tc35815_fixup(struct pci_dev *dev) ...@@ -348,7 +348,7 @@ static void tc35815_fixup(struct pci_dev *dev)
} }
} }
static void final_fixup(struct pci_dev *dev) static void __devinit final_fixup(struct pci_dev *dev)
{ {
unsigned char bist; unsigned char bist;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment