diff options
Diffstat (limited to 'ztdummy.c')
-rwxr-xr-x | ztdummy.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -200,7 +200,11 @@ int init_module(void) #endif #else int irq; +#ifdef DEFINE_SPINLOCK + DEFINE_SPINLOCK(mylock); +#else spinlock_t mylock = SPIN_LOCK_UNLOCKED; +#endif if (uhci_devices==NULL){ printk ("ztdummy: Uhci_devices pointer error.\n"); |