master/device.h
changeset 1040 d2527675cdd5
parent 883 4963e22a267a
child 1209 8be462afb7f4
child 1685 399ef727bf62
--- a/master/device.h	Thu Jun 19 10:18:18 2008 +0000
+++ b/master/device.h	Thu Jun 19 10:18:58 2008 +0000
@@ -94,7 +94,9 @@
     uint8_t link_state; /**< device link state */
     struct sk_buff *tx_skb[EC_TX_RING_SIZE]; /**< transmit skb ring */
     unsigned int tx_ring_index; /**< last ring entry used to transmit */
+#ifdef EC_HAVE_CYCLES
     cycles_t cycles_poll; /**< cycles of last poll */
+#endif
 #ifdef EC_DEBUG_RING
     struct timeval timeval_poll;
 #endif