X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fmtd%2Fmaps%2Fipaq-flash.c;h=712401810841bf1f1d5358b12108ddffac8affbf;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=914c0f5733f7b0393cc63ca2b93b33f775eae51f;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/mtd/maps/ipaq-flash.c b/drivers/mtd/maps/ipaq-flash.c index 914c0f573..712401810 100644 --- a/drivers/mtd/maps/ipaq-flash.c +++ b/drivers/mtd/maps/ipaq-flash.c @@ -143,7 +143,7 @@ static struct mtd_partition h3xxx_partitions_bank2[] = { }; #endif -static spinlock_t ipaq_vpp_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(ipaq_vpp_lock); static void h3xxx_set_vpp(struct map_info *map, int vpp) {