|
@@ -30,7 +30,7 @@ void cb710_pci_update_config_reg(struct pci_dev *pdev,
|
|
|
EXPORT_SYMBOL_GPL(cb710_pci_update_config_reg);
|
|
|
|
|
|
/* Some magic writes based on Windows driver init code */
|
|
|
-static int __devinit cb710_pci_configure(struct pci_dev *pdev)
|
|
|
+static int cb710_pci_configure(struct pci_dev *pdev)
|
|
|
{
|
|
|
unsigned int devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0);
|
|
|
struct pci_dev *pdev0;
|
|
@@ -96,7 +96,7 @@ static void cb710_release_slot(struct device *dev)
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-static int __devinit cb710_register_slot(struct cb710_chip *chip,
|
|
|
+static int cb710_register_slot(struct cb710_chip *chip,
|
|
|
unsigned slot_mask, unsigned io_offset, const char *name)
|
|
|
{
|
|
|
int nr = chip->slots;
|
|
@@ -201,7 +201,7 @@ static int cb710_resume(struct pci_dev *pdev)
|
|
|
|
|
|
#endif /* CONFIG_PM */
|
|
|
|
|
|
-static int __devinit cb710_probe(struct pci_dev *pdev,
|
|
|
+static int cb710_probe(struct pci_dev *pdev,
|
|
|
const struct pci_device_id *ent)
|
|
|
{
|
|
|
struct cb710_chip *chip;
|