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

fs_enet: 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: Pantelis Antoniou <pantelis.antoniou@gmail.com>
Cc: Vitaly Bordug <vbordug@ru.mvista.com>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 64bc40de
...@@ -1004,7 +1004,7 @@ static const struct net_device_ops fs_enet_netdev_ops = { ...@@ -1004,7 +1004,7 @@ static const struct net_device_ops fs_enet_netdev_ops = {
}; };
static struct of_device_id fs_enet_match[]; static struct of_device_id fs_enet_match[];
static int __devinit fs_enet_probe(struct platform_device *ofdev) static int fs_enet_probe(struct platform_device *ofdev)
{ {
const struct of_device_id *match; const struct of_device_id *match;
struct net_device *ndev; struct net_device *ndev;
......
...@@ -108,7 +108,7 @@ static struct mdiobb_ops bb_ops = { ...@@ -108,7 +108,7 @@ static struct mdiobb_ops bb_ops = {
.get_mdio_data = mdio_read, .get_mdio_data = mdio_read,
}; };
static int __devinit fs_mii_bitbang_init(struct mii_bus *bus, static int fs_mii_bitbang_init(struct mii_bus *bus,
struct device_node *np) struct device_node *np)
{ {
struct resource res; struct resource res;
...@@ -150,7 +150,7 @@ static int __devinit fs_mii_bitbang_init(struct mii_bus *bus, ...@@ -150,7 +150,7 @@ static int __devinit fs_mii_bitbang_init(struct mii_bus *bus,
return 0; return 0;
} }
static int __devinit fs_enet_mdio_probe(struct platform_device *ofdev) static int fs_enet_mdio_probe(struct platform_device *ofdev)
{ {
struct mii_bus *new_bus; struct mii_bus *new_bus;
struct bb_info *bitbang; struct bb_info *bitbang;
......
...@@ -102,7 +102,7 @@ static int fs_enet_fec_mii_reset(struct mii_bus *bus) ...@@ -102,7 +102,7 @@ static int fs_enet_fec_mii_reset(struct mii_bus *bus)
} }
static struct of_device_id fs_enet_mdio_fec_match[]; static struct of_device_id fs_enet_mdio_fec_match[];
static int __devinit fs_enet_mdio_probe(struct platform_device *ofdev) static int fs_enet_mdio_probe(struct platform_device *ofdev)
{ {
const struct of_device_id *match; const struct of_device_id *match;
struct resource res; struct resource res;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册