提交 fe4a57c5 编写于 作者: B Bill Pemberton 提交者: Greg Kroah-Hartman

net/ps3_gelic_wireless: 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>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 671a1435
...@@ -2305,7 +2305,7 @@ static const struct iw_handler_def gelic_wl_wext_handler_def = { ...@@ -2305,7 +2305,7 @@ static const struct iw_handler_def gelic_wl_wext_handler_def = {
.get_wireless_stats = gelic_wl_get_wireless_stats, .get_wireless_stats = gelic_wl_get_wireless_stats,
}; };
static struct net_device * __devinit gelic_wl_alloc(struct gelic_card *card) static struct net_device *gelic_wl_alloc(struct gelic_card *card)
{ {
struct net_device *netdev; struct net_device *netdev;
struct gelic_port *port; struct gelic_port *port;
...@@ -2582,7 +2582,7 @@ static const struct ethtool_ops gelic_wl_ethtool_ops = { ...@@ -2582,7 +2582,7 @@ static const struct ethtool_ops gelic_wl_ethtool_ops = {
.get_link = gelic_wl_get_link, .get_link = gelic_wl_get_link,
}; };
static void __devinit gelic_wl_setup_netdev_ops(struct net_device *netdev) static void gelic_wl_setup_netdev_ops(struct net_device *netdev)
{ {
struct gelic_wl_info *wl; struct gelic_wl_info *wl;
wl = port_wl(netdev_priv(netdev)); wl = port_wl(netdev_priv(netdev));
...@@ -2598,7 +2598,7 @@ static void __devinit gelic_wl_setup_netdev_ops(struct net_device *netdev) ...@@ -2598,7 +2598,7 @@ static void __devinit gelic_wl_setup_netdev_ops(struct net_device *netdev)
/* /*
* driver probe/remove * driver probe/remove
*/ */
int __devinit gelic_wl_driver_probe(struct gelic_card *card) int gelic_wl_driver_probe(struct gelic_card *card)
{ {
int ret; int ret;
struct net_device *netdev; struct net_device *netdev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册