X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/76d3b76ac7a3757fd794a688888c0c21db6c284a..32cde89b361c7afb67125976c3816e12633b1d4a:/lincan/src/ssv.c diff --git a/lincan/src/ssv.c b/lincan/src/ssv.c index 3cd003d..45aef4b 100644 --- a/lincan/src/ssv.c +++ b/lincan/src/ssv.c @@ -14,7 +14,7 @@ int ssvcan_irq[2]={-1,-1}; unsigned long ssvcan_base=0x0; -static can_spinlock_t ssv_port_lock=SPIN_LOCK_UNLOCKED; +static CAN_DEFINE_SPINLOCK(ssv_port_lock); /* IO_RANGE is the io-memory range that gets reserved, please adjust according * your hardware. Example: #define IO_RANGE 0x100 for i82527 chips or