提交 8dee5eef 编写于 作者: B Bill Pemberton 提交者: John W. Linville

mwl8k: 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: NBill Pemberton <wfp5p@virginia.edu>
Cc: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 fbdb7fce
...@@ -5258,7 +5258,7 @@ enum { ...@@ -5258,7 +5258,7 @@ enum {
#define _MWL8K_8366_AP_FW(api) "mwl8k/fmimage_8366_ap-" #api ".fw" #define _MWL8K_8366_AP_FW(api) "mwl8k/fmimage_8366_ap-" #api ".fw"
#define MWL8K_8366_AP_FW(api) _MWL8K_8366_AP_FW(api) #define MWL8K_8366_AP_FW(api) _MWL8K_8366_AP_FW(api)
static struct mwl8k_device_info mwl8k_info_tbl[] __devinitdata = { static struct mwl8k_device_info mwl8k_info_tbl[] = {
[MWL8363] = { [MWL8363] = {
.part_name = "88w8363", .part_name = "88w8363",
.helper_image = "mwl8k/helper_8363.fw", .helper_image = "mwl8k/helper_8363.fw",
...@@ -5756,7 +5756,7 @@ static int mwl8k_firmware_load_success(struct mwl8k_priv *priv) ...@@ -5756,7 +5756,7 @@ static int mwl8k_firmware_load_success(struct mwl8k_priv *priv)
return rc; return rc;
} }
static int __devinit mwl8k_probe(struct pci_dev *pdev, static int mwl8k_probe(struct pci_dev *pdev,
const struct pci_device_id *id) const struct pci_device_id *id)
{ {
static int printed_version; static int printed_version;
...@@ -5873,7 +5873,7 @@ static int __devinit mwl8k_probe(struct pci_dev *pdev, ...@@ -5873,7 +5873,7 @@ static int __devinit mwl8k_probe(struct pci_dev *pdev,
return rc; return rc;
} }
static void __devexit mwl8k_remove(struct pci_dev *pdev) static void mwl8k_remove(struct pci_dev *pdev)
{ {
struct ieee80211_hw *hw = pci_get_drvdata(pdev); struct ieee80211_hw *hw = pci_get_drvdata(pdev);
struct mwl8k_priv *priv; struct mwl8k_priv *priv;
...@@ -5925,7 +5925,7 @@ static struct pci_driver mwl8k_driver = { ...@@ -5925,7 +5925,7 @@ static struct pci_driver mwl8k_driver = {
.name = MWL8K_NAME, .name = MWL8K_NAME,
.id_table = mwl8k_pci_id_table, .id_table = mwl8k_pci_id_table,
.probe = mwl8k_probe, .probe = mwl8k_probe,
.remove = __devexit_p(mwl8k_remove), .remove = mwl8k_remove,
}; };
module_pci_driver(mwl8k_driver); module_pci_driver(mwl8k_driver);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册