summaryrefslogtreecommitdiff
path: root/ztdummy.h
diff options
context:
space:
mode:
Diffstat (limited to 'ztdummy.h')
-rwxr-xr-xztdummy.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ztdummy.h b/ztdummy.h
index 19b306b..75eda0f 100755
--- a/ztdummy.h
+++ b/ztdummy.h
@@ -32,9 +32,16 @@
struct ztdummy {
struct zt_span span;
struct zt_chan chan;
+#ifdef LINUX26
+#ifdef USE_RTC
+ atomic_t ticks;
+ rtc_task_t rtc_task;
+#endif
+#endif
};
+#ifndef LINUX26
/* Uhci definitions and structures - from file usb-uhci.h */
#define TD_CTRL_IOC (1 << 24) /* Interrupt on Complete */
#define USBSTS 2
@@ -141,3 +148,4 @@ typedef struct uhci {
struct pci_pool *desc_pool;
long last_error_time; // last error output in uhci_interrupt()
} uhci_t, *puhci_t;
+#endif