aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:23:31 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:46 -0500
commit5911ce0d99b37a902b2c85e172139ce76c8fc583 (patch)
tree788459dc2e895a256b2f7b6483b3ec1d48a530b8
parentf1e242648bce83ec67f8bc047e1ad1ade7b85725 (diff)
seeq: 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: Russell King <linux@arm.linux.org.uk> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/net/ethernet/seeq/ether3.c16
-rw-r--r--drivers/net/ethernet/seeq/sgiseeq.c2
2 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/ethernet/seeq/ether3.c b/drivers/net/ethernet/seeq/ether3.c
index 72a01748d1b1..3aca57853ed4 100644
--- a/drivers/net/ethernet/seeq/ether3.c
+++ b/drivers/net/ethernet/seeq/ether3.c
@@ -67,7 +67,7 @@
67#include <asm/ecard.h> 67#include <asm/ecard.h>
68#include <asm/io.h> 68#include <asm/io.h>
69 69
70static char version[] __devinitdata = "ether3 ethernet driver (c) 1995-2000 R.M.King v1.17\n"; 70static char version[] = "ether3 ethernet driver (c) 1995-2000 R.M.King v1.17\n";
71 71
72#include "ether3.h" 72#include "ether3.h"
73 73
@@ -194,7 +194,7 @@ static inline void ether3_ledon(struct net_device *dev)
194 * Read the ethernet address string from the on board rom. 194 * Read the ethernet address string from the on board rom.
195 * This is an ascii string!!! 195 * This is an ascii string!!!
196 */ 196 */
197static int __devinit 197static int
198ether3_addr(char *addr, struct expansion_card *ec) 198ether3_addr(char *addr, struct expansion_card *ec)
199{ 199{
200 struct in_chunk_dir cd; 200 struct in_chunk_dir cd;
@@ -219,7 +219,7 @@ ether3_addr(char *addr, struct expansion_card *ec)
219 219
220/* --------------------------------------------------------------------------- */ 220/* --------------------------------------------------------------------------- */
221 221
222static int __devinit 222static int
223ether3_ramtest(struct net_device *dev, unsigned char byte) 223ether3_ramtest(struct net_device *dev, unsigned char byte)
224{ 224{
225 unsigned char *buffer = kmalloc(RX_END, GFP_KERNEL); 225 unsigned char *buffer = kmalloc(RX_END, GFP_KERNEL);
@@ -268,7 +268,7 @@ ether3_ramtest(struct net_device *dev, unsigned char byte)
268 268
269/* ------------------------------------------------------------------------------- */ 269/* ------------------------------------------------------------------------------- */
270 270
271static int __devinit ether3_init_2(struct net_device *dev) 271static int ether3_init_2(struct net_device *dev)
272{ 272{
273 int i; 273 int i;
274 274
@@ -742,7 +742,7 @@ static void ether3_tx(struct net_device *dev)
742 } 742 }
743} 743}
744 744
745static void __devinit ether3_banner(void) 745static void ether3_banner(void)
746{ 746{
747 static unsigned version_printed = 0; 747 static unsigned version_printed = 0;
748 748
@@ -761,7 +761,7 @@ static const struct net_device_ops ether3_netdev_ops = {
761 .ndo_set_mac_address = eth_mac_addr, 761 .ndo_set_mac_address = eth_mac_addr,
762}; 762};
763 763
764static int __devinit 764static int
765ether3_probe(struct expansion_card *ec, const struct ecard_id *id) 765ether3_probe(struct expansion_card *ec, const struct ecard_id *id)
766{ 766{
767 const struct ether3_data *data = id->data; 767 const struct ether3_data *data = id->data;
@@ -858,7 +858,7 @@ ether3_probe(struct expansion_card *ec, const struct ecard_id *id)
858 return ret; 858 return ret;
859} 859}
860 860
861static void __devexit ether3_remove(struct expansion_card *ec) 861static void ether3_remove(struct expansion_card *ec)
862{ 862{
863 struct net_device *dev = ecard_get_drvdata(ec); 863 struct net_device *dev = ecard_get_drvdata(ec);
864 864
@@ -888,7 +888,7 @@ static const struct ecard_id ether3_ids[] = {
888 888
889static struct ecard_driver ether3_driver = { 889static struct ecard_driver ether3_driver = {
890 .probe = ether3_probe, 890 .probe = ether3_probe,
891 .remove = __devexit_p(ether3_remove), 891 .remove = ether3_remove,
892 .id_table = ether3_ids, 892 .id_table = ether3_ids,
893 .drv = { 893 .drv = {
894 .name = "ether3", 894 .name = "ether3",
diff --git a/drivers/net/ethernet/seeq/sgiseeq.c b/drivers/net/ethernet/seeq/sgiseeq.c
index 4d15bf413bdc..0fde9ca28269 100644
--- a/drivers/net/ethernet/seeq/sgiseeq.c
+++ b/drivers/net/ethernet/seeq/sgiseeq.c
@@ -721,7 +721,7 @@ static const struct net_device_ops sgiseeq_netdev_ops = {
721 .ndo_validate_addr = eth_validate_addr, 721 .ndo_validate_addr = eth_validate_addr,
722}; 722};
723 723
724static int __devinit sgiseeq_probe(struct platform_device *pdev) 724static int sgiseeq_probe(struct platform_device *pdev)
725{ 725{
726 struct sgiseeq_platform_data *pd = pdev->dev.platform_data; 726 struct sgiseeq_platform_data *pd = pdev->dev.platform_data;
727 struct hpc3_regs *hpcregs = pd->hpc; 727 struct hpc3_regs *hpcregs = pd->hpc;