X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/76d3b76ac7a3757fd794a688888c0c21db6c284a..32cde89b361c7afb67125976c3816e12633b1d4a:/lincan/src/pcccan.c diff --git a/lincan/src/pcccan.c b/lincan/src/pcccan.c index a6b3ad0..b568912 100644 --- a/lincan/src/pcccan.c +++ b/lincan/src/pcccan.c @@ -20,7 +20,7 @@ int pcccan_irq=-1; unsigned long pcccan_base=0x0; -static can_spinlock_t pcccan_port_lock=SPIN_LOCK_UNLOCKED; +static CAN_DEFINE_SPINLOCK(pcccan_port_lock); /* * IO_RANGE is the io-memory range that gets reserved, please adjust according