aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parisc/led.c')
-rw-r--r--drivers/parisc/led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parisc/led.c b/drivers/parisc/led.c
index 3df82fe9ce8c..98be2880757d 100644
--- a/drivers/parisc/led.c
+++ b/drivers/parisc/led.c
@@ -365,7 +365,7 @@ static __inline__ int led_get_net_activity(void)
365 * for reading should be OK */ 365 * for reading should be OK */
366 read_lock(&dev_base_lock); 366 read_lock(&dev_base_lock);
367 rcu_read_lock(); 367 rcu_read_lock();
368 for (dev = dev_base; dev; dev = dev->next) { 368 for_each_netdev(dev) {
369 struct net_device_stats *stats; 369 struct net_device_stats *stats;
370 struct in_device *in_dev = __in_dev_get_rcu(dev); 370 struct in_device *in_dev = __in_dev_get_rcu(dev);
371 if (!in_dev || !in_dev->ifa_list) 371 if (!in_dev || !in_dev->ifa_list)