diff options
Diffstat (limited to 'ztdummy.c')
-rwxr-xr-x | ztdummy.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -152,7 +152,11 @@ int init_module(void) { #ifndef LINUX26 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"); |