rtl8187: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
692023597a
commit
fb4e899dea
1 changed files with 3 additions and 3 deletions
|
@ -901,7 +901,7 @@ static void rtl8180_eeprom_register_write(struct eeprom_93cx6 *eeprom)
|
||||||
udelay(10);
|
udelay(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __devinit rtl8180_probe(struct pci_dev *pdev,
|
static int rtl8180_probe(struct pci_dev *pdev,
|
||||||
const struct pci_device_id *id)
|
const struct pci_device_id *id)
|
||||||
{
|
{
|
||||||
struct ieee80211_hw *dev;
|
struct ieee80211_hw *dev;
|
||||||
|
@ -1131,7 +1131,7 @@ static int __devinit rtl8180_probe(struct pci_dev *pdev,
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __devexit rtl8180_remove(struct pci_dev *pdev)
|
static void rtl8180_remove(struct pci_dev *pdev)
|
||||||
{
|
{
|
||||||
struct ieee80211_hw *dev = pci_get_drvdata(pdev);
|
struct ieee80211_hw *dev = pci_get_drvdata(pdev);
|
||||||
struct rtl8180_priv *priv;
|
struct rtl8180_priv *priv;
|
||||||
|
@ -1170,7 +1170,7 @@ static struct pci_driver rtl8180_driver = {
|
||||||
.name = KBUILD_MODNAME,
|
.name = KBUILD_MODNAME,
|
||||||
.id_table = rtl8180_table,
|
.id_table = rtl8180_table,
|
||||||
.probe = rtl8180_probe,
|
.probe = rtl8180_probe,
|
||||||
.remove = __devexit_p(rtl8180_remove),
|
.remove = rtl8180_remove,
|
||||||
#ifdef CONFIG_PM
|
#ifdef CONFIG_PM
|
||||||
.suspend = rtl8180_suspend,
|
.suspend = rtl8180_suspend,
|
||||||
.resume = rtl8180_resume,
|
.resume = rtl8180_resume,
|
||||||
|
|
Loading…
Add table
Reference in a new issue