--- ../clean/linux/drivers/mtd/chips/chipreg.c Tue Jun 12 10:30:27 2001 +++ linux/drivers/mtd/chips/chipreg.c Tue Sep 4 15:20:57 2001 @@ -12,7 +12,7 @@ #include #include -spinlock_t chip_drvs_lock = SPIN_LOCK_UNLOCKED; +static spinlock_t chip_drvs_lock = SPIN_LOCK_UNLOCKED; static LIST_HEAD(chip_drvs_list); void register_mtd_chip_driver(struct mtd_chip_driver *drv)