diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:43 -0500 |
commit | 4f2c53ea27a8d12aaf07f61b5d13d20cadfdefd0 (patch) | |
tree | af82bef13b9861e7fc6110e83b53152e1ee356f7 /drivers | |
parent | 64bc40de134bb5c7826ff384016f654219ed3956 (diff) |
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: Bill 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c | 4 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/fs_enet/mii-fec.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c index 2b7633f766d9..e9879c5af7ba 100644 --- a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c +++ b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | |||
@@ -1004,7 +1004,7 @@ static const struct net_device_ops fs_enet_netdev_ops = { | |||
1004 | }; | 1004 | }; |
1005 | 1005 | ||
1006 | static struct of_device_id fs_enet_match[]; | 1006 | static struct of_device_id fs_enet_match[]; |
1007 | static int __devinit fs_enet_probe(struct platform_device *ofdev) | 1007 | static int fs_enet_probe(struct platform_device *ofdev) |
1008 | { | 1008 | { |
1009 | const struct of_device_id *match; | 1009 | const struct of_device_id *match; |
1010 | struct net_device *ndev; | 1010 | struct net_device *ndev; |
diff --git a/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c b/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c index 151453309401..3f35b6a983e9 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c +++ b/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c | |||
@@ -108,7 +108,7 @@ static struct mdiobb_ops bb_ops = { | |||
108 | .get_mdio_data = mdio_read, | 108 | .get_mdio_data = mdio_read, |
109 | }; | 109 | }; |
110 | 110 | ||
111 | static int __devinit fs_mii_bitbang_init(struct mii_bus *bus, | 111 | static int fs_mii_bitbang_init(struct mii_bus *bus, |
112 | struct device_node *np) | 112 | struct device_node *np) |
113 | { | 113 | { |
114 | struct resource res; | 114 | struct resource res; |
@@ -150,7 +150,7 @@ static int __devinit fs_mii_bitbang_init(struct mii_bus *bus, | |||
150 | return 0; | 150 | return 0; |
151 | } | 151 | } |
152 | 152 | ||
153 | static int __devinit fs_enet_mdio_probe(struct platform_device *ofdev) | 153 | static int fs_enet_mdio_probe(struct platform_device *ofdev) |
154 | { | 154 | { |
155 | struct mii_bus *new_bus; | 155 | struct mii_bus *new_bus; |
156 | struct bb_info *bitbang; | 156 | struct bb_info *bitbang; |
diff --git a/drivers/net/ethernet/freescale/fs_enet/mii-fec.c b/drivers/net/ethernet/freescale/fs_enet/mii-fec.c index cdf702a59485..18e8ef203736 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mii-fec.c +++ b/drivers/net/ethernet/freescale/fs_enet/mii-fec.c | |||
@@ -102,7 +102,7 @@ static int fs_enet_fec_mii_reset(struct mii_bus *bus) | |||
102 | } | 102 | } |
103 | 103 | ||
104 | static struct of_device_id fs_enet_mdio_fec_match[]; | 104 | static struct of_device_id fs_enet_mdio_fec_match[]; |
105 | static int __devinit fs_enet_mdio_probe(struct platform_device *ofdev) | 105 | static int fs_enet_mdio_probe(struct platform_device *ofdev) |
106 | { | 106 | { |
107 | const struct of_device_id *match; | 107 | const struct of_device_id *match; |
108 | struct resource res; | 108 | struct resource res; |