aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc/led.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2007-12-16 23:28:24 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:58:20 -0500
commit17159b0b494ad27f397f914d6eab1b91faf57630 (patch)
treee88cbc89234e4ff7cab633a6cba6f3d5c7161a32 /drivers/parisc/led.c
parent9ad0977fe10bd5d052a6db7738afe017367c2e32 (diff)
[PARISC]: Fix build after ipv4_is_*() changes.
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
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 a6d6b2488ffc..703b85edb004 100644
--- a/drivers/parisc/led.c
+++ b/drivers/parisc/led.c
@@ -364,7 +364,7 @@ static __inline__ int led_get_net_activity(void)
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)
366 continue; 366 continue;
367 if (LOOPBACK(in_dev->ifa_list->ifa_local)) 367 if (ipv4_is_loopback(in_dev->ifa_list->ifa_local))
368 continue; 368 continue;
369 stats = dev->get_stats(dev); 369 stats = dev->get_stats(dev);
370 rx_total += stats->rx_packets; 370 rx_total += stats->rx_packets;