diff options
Diffstat (limited to 'drivers/parisc/led.c')
-rw-r--r-- | drivers/parisc/led.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parisc/led.c b/drivers/parisc/led.c index e5d7ed92d6f..a6d6b2488ff 100644 --- a/drivers/parisc/led.c +++ b/drivers/parisc/led.c | |||
@@ -359,7 +359,7 @@ static __inline__ int led_get_net_activity(void) | |||
359 | * for reading should be OK */ | 359 | * for reading should be OK */ |
360 | read_lock(&dev_base_lock); | 360 | read_lock(&dev_base_lock); |
361 | rcu_read_lock(); | 361 | rcu_read_lock(); |
362 | for_each_netdev(dev) { | 362 | for_each_netdev(&init_net, dev) { |
363 | struct net_device_stats *stats; | 363 | struct net_device_stats *stats; |
364 | struct in_device *in_dev = __in_dev_get_rcu(dev); | 364 | struct in_device *in_dev = __in_dev_get_rcu(dev); |
365 | if (!in_dev || !in_dev->ifa_list) | 365 | if (!in_dev || !in_dev->ifa_list) |