X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fnet%2Fsk_g16.c;h=134ae0e6495bd8f76c5dc0805ec6198fd0fece79;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=bc71b55a99c00a8ea971ffbb93226327b8472044;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/drivers/net/sk_g16.c b/drivers/net/sk_g16.c index bc71b55a9..134ae0e64 100644 --- a/drivers/net/sk_g16.c +++ b/drivers/net/sk_g16.c @@ -72,10 +72,10 @@ static const char rcsid[] = "$Id: sk_g16.c,v 1.1 1994/06/30 16:25:15 root Exp $" #include #include #include +#include #include #include -#include #include "sk_g16.h" @@ -457,7 +457,7 @@ struct priv /* static variables */ static SK_RAM *board; /* pointer to our memory mapped board components */ -static spinlock_t SK_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(SK_lock); /* Macros */