io7 = alloc_bootmem(sizeof(*io7));
io7->pe = pe;
- io7->irq_lock = SPIN_LOCK_UNLOCKED;
+ spin_lock_init(&io7->irq_lock);
for (h = 0; h < 4; h++) {
io7->ports[h].io7 = io7;
str = pchar;
} while(*str);
- return 0;
+ return 1;
}
__setup("io7=", marvel_specify_io7);