staging: sbe-2t3e3: remove use of __devinit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:22:14 +0000 (13:22 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 23:05:02 +0000 (15:05 -0800)
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sbe-2t3e3/module.c

index 8e1a043b6b9fb4a9e11d53f9262da93858393b49..69b451ee830b706b0bdf4b7e846c3747b3f46091 100644 (file)
@@ -52,7 +52,7 @@ static void t3e3_remove_channel(struct channel *channel)
        pci_set_drvdata(pdev, NULL);
 }
 
-static int __devinit t3e3_init_channel(struct channel *channel, struct pci_dev *pdev, struct card *card)
+static int t3e3_init_channel(struct channel *channel, struct pci_dev *pdev, struct card *card)
 {
        struct net_device *dev;
        unsigned int val;
@@ -131,7 +131,7 @@ static void __devexit t3e3_remove_card(struct pci_dev *pdev)
        kfree(card);
 }
 
-static int __devinit t3e3_init_card(struct pci_dev *pdev, const struct pci_device_id *ent)
+static int t3e3_init_card(struct pci_dev *pdev, const struct pci_device_id *ent)
 {
        /* pdev points to channel #0 */
        struct pci_dev *pdev1 = NULL;