--- linux-2.4.5/drivers/parport/share.c Tue May 22 19:54:04 2001 +++ linux/drivers/parport/share.c Tue Jun 26 11:11:41 2001 @@ -41,10 +41,10 @@ int parport_default_spintime = DEFAULT_SPIN_TIME; static struct parport *portlist = NULL, *portlist_tail = NULL; -spinlock_t parportlist_lock = SPIN_LOCK_UNLOCKED; +static spinlock_t parportlist_lock = SPIN_LOCK_UNLOCKED; static struct parport_driver *driver_chain = NULL; -spinlock_t driverlist_lock = SPIN_LOCK_UNLOCKED; +static spinlock_t driverlist_lock = SPIN_LOCK_UNLOCKED; /* What you can do to a port that's gone away.. */ static void dead_write_lines (struct parport *p, unsigned char b){}