aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/ibm/emac/core.c18
-rw-r--r--drivers/net/ethernet/ibm/emac/mal.c6
-rw-r--r--drivers/net/ethernet/ibm/emac/rgmii.c6
-rw-r--r--drivers/net/ethernet/ibm/emac/tah.c6
-rw-r--r--drivers/net/ethernet/ibm/emac/zmii.c6
5 files changed, 21 insertions, 21 deletions
diff --git a/drivers/net/ethernet/ibm/emac/core.c b/drivers/net/ethernet/ibm/emac/core.c
index a0fe6e3fce61..c791ad3907b2 100644
--- a/drivers/net/ethernet/ibm/emac/core.c
+++ b/drivers/net/ethernet/ibm/emac/core.c
@@ -2261,7 +2261,7 @@ struct emac_depentry {
2261#define EMAC_DEP_PREV_IDX 5 2261#define EMAC_DEP_PREV_IDX 5
2262#define EMAC_DEP_COUNT 6 2262#define EMAC_DEP_COUNT 6
2263 2263
2264static int __devinit emac_check_deps(struct emac_instance *dev, 2264static int emac_check_deps(struct emac_instance *dev,
2265 struct emac_depentry *deps) 2265 struct emac_depentry *deps)
2266{ 2266{
2267 int i, there = 0; 2267 int i, there = 0;
@@ -2314,7 +2314,7 @@ static void emac_put_deps(struct emac_instance *dev)
2314 of_dev_put(dev->tah_dev); 2314 of_dev_put(dev->tah_dev);
2315} 2315}
2316 2316
2317static int __devinit emac_of_bus_notify(struct notifier_block *nb, 2317static int emac_of_bus_notify(struct notifier_block *nb,
2318 unsigned long action, void *data) 2318 unsigned long action, void *data)
2319{ 2319{
2320 /* We are only intereted in device addition */ 2320 /* We are only intereted in device addition */
@@ -2323,11 +2323,11 @@ static int __devinit emac_of_bus_notify(struct notifier_block *nb,
2323 return 0; 2323 return 0;
2324} 2324}
2325 2325
2326static struct notifier_block emac_of_bus_notifier __devinitdata = { 2326static struct notifier_block emac_of_bus_notifier = {
2327 .notifier_call = emac_of_bus_notify 2327 .notifier_call = emac_of_bus_notify
2328}; 2328};
2329 2329
2330static int __devinit emac_wait_deps(struct emac_instance *dev) 2330static int emac_wait_deps(struct emac_instance *dev)
2331{ 2331{
2332 struct emac_depentry deps[EMAC_DEP_COUNT]; 2332 struct emac_depentry deps[EMAC_DEP_COUNT];
2333 int i, err; 2333 int i, err;
@@ -2367,7 +2367,7 @@ static int __devinit emac_wait_deps(struct emac_instance *dev)
2367 return err; 2367 return err;
2368} 2368}
2369 2369
2370static int __devinit emac_read_uint_prop(struct device_node *np, const char *name, 2370static int emac_read_uint_prop(struct device_node *np, const char *name,
2371 u32 *val, int fatal) 2371 u32 *val, int fatal)
2372{ 2372{
2373 int len; 2373 int len;
@@ -2382,7 +2382,7 @@ static int __devinit emac_read_uint_prop(struct device_node *np, const char *nam
2382 return 0; 2382 return 0;
2383} 2383}
2384 2384
2385static int __devinit emac_init_phy(struct emac_instance *dev) 2385static int emac_init_phy(struct emac_instance *dev)
2386{ 2386{
2387 struct device_node *np = dev->ofdev->dev.of_node; 2387 struct device_node *np = dev->ofdev->dev.of_node;
2388 struct net_device *ndev = dev->ndev; 2388 struct net_device *ndev = dev->ndev;
@@ -2518,7 +2518,7 @@ static int __devinit emac_init_phy(struct emac_instance *dev)
2518 return 0; 2518 return 0;
2519} 2519}
2520 2520
2521static int __devinit emac_init_config(struct emac_instance *dev) 2521static int emac_init_config(struct emac_instance *dev)
2522{ 2522{
2523 struct device_node *np = dev->ofdev->dev.of_node; 2523 struct device_node *np = dev->ofdev->dev.of_node;
2524 const void *p; 2524 const void *p;
@@ -2703,7 +2703,7 @@ static const struct net_device_ops emac_gige_netdev_ops = {
2703 .ndo_change_mtu = emac_change_mtu, 2703 .ndo_change_mtu = emac_change_mtu,
2704}; 2704};
2705 2705
2706static int __devinit emac_probe(struct platform_device *ofdev) 2706static int emac_probe(struct platform_device *ofdev)
2707{ 2707{
2708 struct net_device *ndev; 2708 struct net_device *ndev;
2709 struct emac_instance *dev; 2709 struct emac_instance *dev;
@@ -2930,7 +2930,7 @@ static int __devinit emac_probe(struct platform_device *ofdev)
2930 return err; 2930 return err;
2931} 2931}
2932 2932
2933static int __devexit emac_remove(struct platform_device *ofdev) 2933static int emac_remove(struct platform_device *ofdev)
2934{ 2934{
2935 struct emac_instance *dev = dev_get_drvdata(&ofdev->dev); 2935 struct emac_instance *dev = dev_get_drvdata(&ofdev->dev);
2936 2936
diff --git a/drivers/net/ethernet/ibm/emac/mal.c b/drivers/net/ethernet/ibm/emac/mal.c
index 84c6b6cf9c14..8becaaf6eb5c 100644
--- a/drivers/net/ethernet/ibm/emac/mal.c
+++ b/drivers/net/ethernet/ibm/emac/mal.c
@@ -33,7 +33,7 @@
33 33
34static int mal_count; 34static int mal_count;
35 35
36int __devinit mal_register_commac(struct mal_instance *mal, 36int mal_register_commac(struct mal_instance *mal,
37 struct mal_commac *commac) 37 struct mal_commac *commac)
38{ 38{
39 unsigned long flags; 39 unsigned long flags;
@@ -517,7 +517,7 @@ void *mal_dump_regs(struct mal_instance *mal, void *buf)
517 return regs + 1; 517 return regs + 1;
518} 518}
519 519
520static int __devinit mal_probe(struct platform_device *ofdev) 520static int mal_probe(struct platform_device *ofdev)
521{ 521{
522 struct mal_instance *mal; 522 struct mal_instance *mal;
523 int err = 0, i, bd_size; 523 int err = 0, i, bd_size;
@@ -729,7 +729,7 @@ static int __devinit mal_probe(struct platform_device *ofdev)
729 return err; 729 return err;
730} 730}
731 731
732static int __devexit mal_remove(struct platform_device *ofdev) 732static int mal_remove(struct platform_device *ofdev)
733{ 733{
734 struct mal_instance *mal = dev_get_drvdata(&ofdev->dev); 734 struct mal_instance *mal = dev_get_drvdata(&ofdev->dev);
735 735
diff --git a/drivers/net/ethernet/ibm/emac/rgmii.c b/drivers/net/ethernet/ibm/emac/rgmii.c
index d3123282e18e..39251765b55d 100644
--- a/drivers/net/ethernet/ibm/emac/rgmii.c
+++ b/drivers/net/ethernet/ibm/emac/rgmii.c
@@ -93,7 +93,7 @@ static inline u32 rgmii_mode_mask(int mode, int input)
93 } 93 }
94} 94}
95 95
96int __devinit rgmii_attach(struct platform_device *ofdev, int input, int mode) 96int rgmii_attach(struct platform_device *ofdev, int input, int mode)
97{ 97{
98 struct rgmii_instance *dev = dev_get_drvdata(&ofdev->dev); 98 struct rgmii_instance *dev = dev_get_drvdata(&ofdev->dev);
99 struct rgmii_regs __iomem *p = dev->base; 99 struct rgmii_regs __iomem *p = dev->base;
@@ -228,7 +228,7 @@ void *rgmii_dump_regs(struct platform_device *ofdev, void *buf)
228} 228}
229 229
230 230
231static int __devinit rgmii_probe(struct platform_device *ofdev) 231static int rgmii_probe(struct platform_device *ofdev)
232{ 232{
233 struct device_node *np = ofdev->dev.of_node; 233 struct device_node *np = ofdev->dev.of_node;
234 struct rgmii_instance *dev; 234 struct rgmii_instance *dev;
@@ -289,7 +289,7 @@ static int __devinit rgmii_probe(struct platform_device *ofdev)
289 return rc; 289 return rc;
290} 290}
291 291
292static int __devexit rgmii_remove(struct platform_device *ofdev) 292static int rgmii_remove(struct platform_device *ofdev)
293{ 293{
294 struct rgmii_instance *dev = dev_get_drvdata(&ofdev->dev); 294 struct rgmii_instance *dev = dev_get_drvdata(&ofdev->dev);
295 295
diff --git a/drivers/net/ethernet/ibm/emac/tah.c b/drivers/net/ethernet/ibm/emac/tah.c
index 872912ef518d..795f1393e2b6 100644
--- a/drivers/net/ethernet/ibm/emac/tah.c
+++ b/drivers/net/ethernet/ibm/emac/tah.c
@@ -23,7 +23,7 @@
23#include "emac.h" 23#include "emac.h"
24#include "core.h" 24#include "core.h"
25 25
26int __devinit tah_attach(struct platform_device *ofdev, int channel) 26int tah_attach(struct platform_device *ofdev, int channel)
27{ 27{
28 struct tah_instance *dev = dev_get_drvdata(&ofdev->dev); 28 struct tah_instance *dev = dev_get_drvdata(&ofdev->dev);
29 29
@@ -87,7 +87,7 @@ void *tah_dump_regs(struct platform_device *ofdev, void *buf)
87 return regs + 1; 87 return regs + 1;
88} 88}
89 89
90static int __devinit tah_probe(struct platform_device *ofdev) 90static int tah_probe(struct platform_device *ofdev)
91{ 91{
92 struct device_node *np = ofdev->dev.of_node; 92 struct device_node *np = ofdev->dev.of_node;
93 struct tah_instance *dev; 93 struct tah_instance *dev;
@@ -135,7 +135,7 @@ static int __devinit tah_probe(struct platform_device *ofdev)
135 return rc; 135 return rc;
136} 136}
137 137
138static int __devexit tah_remove(struct platform_device *ofdev) 138static int tah_remove(struct platform_device *ofdev)
139{ 139{
140 struct tah_instance *dev = dev_get_drvdata(&ofdev->dev); 140 struct tah_instance *dev = dev_get_drvdata(&ofdev->dev);
141 141
diff --git a/drivers/net/ethernet/ibm/emac/zmii.c b/drivers/net/ethernet/ibm/emac/zmii.c
index 415e9b4d5408..f91202f42125 100644
--- a/drivers/net/ethernet/ibm/emac/zmii.c
+++ b/drivers/net/ethernet/ibm/emac/zmii.c
@@ -82,7 +82,7 @@ static inline u32 zmii_mode_mask(int mode, int input)
82 } 82 }
83} 83}
84 84
85int __devinit zmii_attach(struct platform_device *ofdev, int input, int *mode) 85int zmii_attach(struct platform_device *ofdev, int input, int *mode)
86{ 86{
87 struct zmii_instance *dev = dev_get_drvdata(&ofdev->dev); 87 struct zmii_instance *dev = dev_get_drvdata(&ofdev->dev);
88 struct zmii_regs __iomem *p = dev->base; 88 struct zmii_regs __iomem *p = dev->base;
@@ -231,7 +231,7 @@ void *zmii_dump_regs(struct platform_device *ofdev, void *buf)
231 return regs + 1; 231 return regs + 1;
232} 232}
233 233
234static int __devinit zmii_probe(struct platform_device *ofdev) 234static int zmii_probe(struct platform_device *ofdev)
235{ 235{
236 struct device_node *np = ofdev->dev.of_node; 236 struct device_node *np = ofdev->dev.of_node;
237 struct zmii_instance *dev; 237 struct zmii_instance *dev;
@@ -282,7 +282,7 @@ static int __devinit zmii_probe(struct platform_device *ofdev)
282 return rc; 282 return rc;
283} 283}
284 284
285static int __devexit zmii_remove(struct platform_device *ofdev) 285static int zmii_remove(struct platform_device *ofdev)
286{ 286{
287 struct zmii_instance *dev = dev_get_drvdata(&ofdev->dev); 287 struct zmii_instance *dev = dev_get_drvdata(&ofdev->dev);
288 288