diff options
Diffstat (limited to 'drivers/net/tokenring')
-rw-r--r-- | drivers/net/tokenring/3c359.c | 1 | ||||
-rw-r--r-- | drivers/net/tokenring/abyss.c | 2 | ||||
-rw-r--r-- | drivers/net/tokenring/lanstreamer.c | 1 | ||||
-rw-r--r-- | drivers/net/tokenring/madgemc.c | 1 | ||||
-rw-r--r-- | drivers/net/tokenring/olympic.c | 1 | ||||
-rw-r--r-- | drivers/net/tokenring/proteon.c | 1 | ||||
-rw-r--r-- | drivers/net/tokenring/skisa.c | 1 | ||||
-rw-r--r-- | drivers/net/tokenring/smctr.c | 2 | ||||
-rw-r--r-- | drivers/net/tokenring/tmspci.c | 1 |
9 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/tokenring/3c359.c b/drivers/net/tokenring/3c359.c index f4251d35599d..88d03c085d54 100644 --- a/drivers/net/tokenring/3c359.c +++ b/drivers/net/tokenring/3c359.c | |||
@@ -344,7 +344,6 @@ static int __devinit xl_probe(struct pci_dev *pdev, | |||
344 | dev->set_multicast_list=&xl_set_rx_mode; | 344 | dev->set_multicast_list=&xl_set_rx_mode; |
345 | dev->get_stats=&xl_get_stats ; | 345 | dev->get_stats=&xl_get_stats ; |
346 | dev->set_mac_address=&xl_set_mac_address ; | 346 | dev->set_mac_address=&xl_set_mac_address ; |
347 | SET_MODULE_OWNER(dev); | ||
348 | SET_NETDEV_DEV(dev, &pdev->dev); | 347 | SET_NETDEV_DEV(dev, &pdev->dev); |
349 | 348 | ||
350 | pci_set_drvdata(pdev,dev) ; | 349 | pci_set_drvdata(pdev,dev) ; |
diff --git a/drivers/net/tokenring/abyss.c b/drivers/net/tokenring/abyss.c index 1bdd3beefbe5..22fad5112406 100644 --- a/drivers/net/tokenring/abyss.c +++ b/drivers/net/tokenring/abyss.c | |||
@@ -116,8 +116,6 @@ static int __devinit abyss_attach(struct pci_dev *pdev, const struct pci_device_ | |||
116 | if (!dev) | 116 | if (!dev) |
117 | return -ENOMEM; | 117 | return -ENOMEM; |
118 | 118 | ||
119 | SET_MODULE_OWNER(dev); | ||
120 | |||
121 | if (!request_region(pci_ioaddr, ABYSS_IO_EXTENT, dev->name)) { | 119 | if (!request_region(pci_ioaddr, ABYSS_IO_EXTENT, dev->name)) { |
122 | ret = -EBUSY; | 120 | ret = -EBUSY; |
123 | goto err_out_trdev; | 121 | goto err_out_trdev; |
diff --git a/drivers/net/tokenring/lanstreamer.c b/drivers/net/tokenring/lanstreamer.c index 49c4270ef5f7..f114fb729f54 100644 --- a/drivers/net/tokenring/lanstreamer.c +++ b/drivers/net/tokenring/lanstreamer.c | |||
@@ -245,7 +245,6 @@ static int __devinit streamer_init_one(struct pci_dev *pdev, | |||
245 | return -ENOMEM; | 245 | return -ENOMEM; |
246 | } | 246 | } |
247 | 247 | ||
248 | SET_MODULE_OWNER(dev); | ||
249 | streamer_priv = netdev_priv(dev); | 248 | streamer_priv = netdev_priv(dev); |
250 | 249 | ||
251 | #if STREAMER_NETWORK_MONITOR | 250 | #if STREAMER_NETWORK_MONITOR |
diff --git a/drivers/net/tokenring/madgemc.c b/drivers/net/tokenring/madgemc.c index 9eafc2e25abc..d0ce2ce675d5 100644 --- a/drivers/net/tokenring/madgemc.c +++ b/drivers/net/tokenring/madgemc.c | |||
@@ -168,7 +168,6 @@ static int __devinit madgemc_probe(struct device *device) | |||
168 | goto getout; | 168 | goto getout; |
169 | } | 169 | } |
170 | 170 | ||
171 | SET_MODULE_OWNER(dev); | ||
172 | dev->dma = 0; | 171 | dev->dma = 0; |
173 | 172 | ||
174 | card = kmalloc(sizeof(struct card_info), GFP_KERNEL); | 173 | card = kmalloc(sizeof(struct card_info), GFP_KERNEL); |
diff --git a/drivers/net/tokenring/olympic.c b/drivers/net/tokenring/olympic.c index b57f65b2591a..a149d5e2965c 100644 --- a/drivers/net/tokenring/olympic.c +++ b/drivers/net/tokenring/olympic.c | |||
@@ -261,7 +261,6 @@ static int __devinit olympic_probe(struct pci_dev *pdev, const struct pci_device | |||
261 | dev->set_multicast_list=&olympic_set_rx_mode; | 261 | dev->set_multicast_list=&olympic_set_rx_mode; |
262 | dev->get_stats=&olympic_get_stats ; | 262 | dev->get_stats=&olympic_get_stats ; |
263 | dev->set_mac_address=&olympic_set_mac_address ; | 263 | dev->set_mac_address=&olympic_set_mac_address ; |
264 | SET_MODULE_OWNER(dev) ; | ||
265 | SET_NETDEV_DEV(dev, &pdev->dev); | 264 | SET_NETDEV_DEV(dev, &pdev->dev); |
266 | 265 | ||
267 | pci_set_drvdata(pdev,dev) ; | 266 | pci_set_drvdata(pdev,dev) ; |
diff --git a/drivers/net/tokenring/proteon.c b/drivers/net/tokenring/proteon.c index cb7dbb63c9d9..85d156dea033 100644 --- a/drivers/net/tokenring/proteon.c +++ b/drivers/net/tokenring/proteon.c | |||
@@ -126,7 +126,6 @@ static int __init setup_card(struct net_device *dev, struct device *pdev) | |||
126 | if (!dev) | 126 | if (!dev) |
127 | return -ENOMEM; | 127 | return -ENOMEM; |
128 | 128 | ||
129 | SET_MODULE_OWNER(dev); | ||
130 | if (dev->base_addr) /* probe specific location */ | 129 | if (dev->base_addr) /* probe specific location */ |
131 | err = proteon_probe1(dev, dev->base_addr); | 130 | err = proteon_probe1(dev, dev->base_addr); |
132 | else { | 131 | else { |
diff --git a/drivers/net/tokenring/skisa.c b/drivers/net/tokenring/skisa.c index 33afea31d87b..ecbddc80a2a5 100644 --- a/drivers/net/tokenring/skisa.c +++ b/drivers/net/tokenring/skisa.c | |||
@@ -143,7 +143,6 @@ static int __init setup_card(struct net_device *dev, struct device *pdev) | |||
143 | if (!dev) | 143 | if (!dev) |
144 | return -ENOMEM; | 144 | return -ENOMEM; |
145 | 145 | ||
146 | SET_MODULE_OWNER(dev); | ||
147 | if (dev->base_addr) /* probe specific location */ | 146 | if (dev->base_addr) /* probe specific location */ |
148 | err = sk_isa_probe1(dev, dev->base_addr); | 147 | err = sk_isa_probe1(dev, dev->base_addr); |
149 | else { | 148 | else { |
diff --git a/drivers/net/tokenring/smctr.c b/drivers/net/tokenring/smctr.c index f83bb5cb0d3d..93da3a36cde8 100644 --- a/drivers/net/tokenring/smctr.c +++ b/drivers/net/tokenring/smctr.c | |||
@@ -3583,8 +3583,6 @@ struct net_device __init *smctr_probe(int unit) | |||
3583 | if (!dev) | 3583 | if (!dev) |
3584 | return ERR_PTR(-ENOMEM); | 3584 | return ERR_PTR(-ENOMEM); |
3585 | 3585 | ||
3586 | SET_MODULE_OWNER(dev); | ||
3587 | |||
3588 | if (unit >= 0) { | 3586 | if (unit >= 0) { |
3589 | sprintf(dev->name, "tr%d", unit); | 3587 | sprintf(dev->name, "tr%d", unit); |
3590 | netdev_boot_setup_check(dev); | 3588 | netdev_boot_setup_check(dev); |
diff --git a/drivers/net/tokenring/tmspci.c b/drivers/net/tokenring/tmspci.c index aec75c930c21..ecdd8511a67b 100644 --- a/drivers/net/tokenring/tmspci.c +++ b/drivers/net/tokenring/tmspci.c | |||
@@ -115,7 +115,6 @@ static int __devinit tms_pci_attach(struct pci_dev *pdev, const struct pci_devic | |||
115 | dev = alloc_trdev(sizeof(struct net_local)); | 115 | dev = alloc_trdev(sizeof(struct net_local)); |
116 | if (!dev) | 116 | if (!dev) |
117 | return -ENOMEM; | 117 | return -ENOMEM; |
118 | SET_MODULE_OWNER(dev); | ||
119 | 118 | ||
120 | if (!request_region(pci_ioaddr, TMS_PCI_IO_EXTENT, dev->name)) { | 119 | if (!request_region(pci_ioaddr, TMS_PCI_IO_EXTENT, dev->name)) { |
121 | ret = -EBUSY; | 120 | ret = -EBUSY; |