mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 10:13:57 +08:00
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 <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
db53ac71fe
commit
4cd2b92de3
@ -52,7 +52,7 @@ static void t3e3_remove_channel(struct channel *channel)
|
|||||||
pci_set_drvdata(pdev, NULL);
|
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;
|
struct net_device *dev;
|
||||||
unsigned int val;
|
unsigned int val;
|
||||||
@ -131,7 +131,7 @@ static void __devexit t3e3_remove_card(struct pci_dev *pdev)
|
|||||||
kfree(card);
|
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 */
|
/* pdev points to channel #0 */
|
||||||
struct pci_dev *pdev1 = NULL;
|
struct pci_dev *pdev1 = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user