]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/parisc/led.c
hvc_console: Remove tty->low_latency
[linux-2.6-omap-h63xx.git] / drivers / parisc / led.c
index f9b12664f9fb90c24e07ce2cc6f49cd8769a81cd..454b6532e40998cce76aa3eeb7ed8fdaa901748a 100644 (file)
@@ -360,13 +360,13 @@ static __inline__ int led_get_net_activity(void)
        read_lock(&dev_base_lock);
        rcu_read_lock();
        for_each_netdev(&init_net, dev) {
-           struct net_device_stats *stats;
+           const struct net_device_stats *stats;
            struct in_device *in_dev = __in_dev_get_rcu(dev);
            if (!in_dev || !in_dev->ifa_list)
                continue;
            if (ipv4_is_loopback(in_dev->ifa_list->ifa_local))
                continue;
-           stats = dev->get_stats(dev);
+           stats = dev_get_stats(dev);
            rx_total += stats->rx_packets;
            tx_total += stats->tx_packets;
        }