From: Bill Pemberton Date: Mon, 19 Nov 2012 18:22:14 +0000 (-0500) Subject: staging: sbe-2t3e3: remove use of __devinit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4cd2b92de30f511aa6b203cbff2692aa09dc1226;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git staging: sbe-2t3e3: remove use of __devinit CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/sbe-2t3e3/module.c b/drivers/staging/sbe-2t3e3/module.c index 8e1a043b6b9f..69b451ee830b 100644 --- a/drivers/staging/sbe-2t3e3/module.c +++ b/drivers/staging/sbe-2t3e3/module.c @@ -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;