X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/95c031e101c74ae6472a7e538f3128f67a490082..a6d355f1cf48f39eecb2f1bdead51817d1fd5989:/lincan/src/msmcan.c diff --git a/lincan/src/msmcan.c b/lincan/src/msmcan.c index 230e786..9851b5f 100644 --- a/lincan/src/msmcan.c +++ b/lincan/src/msmcan.c @@ -13,7 +13,7 @@ #include "../include/msmcan.h" #include "../include/i82527.h" -static can_spinlock_t msmcan_port_lock=SPIN_LOCK_UNLOCKED; +static CAN_DEFINE_SPINLOCK(msmcan_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