On Wednesday 01 February 2012, Jamie Iles wrote: > > +static struct ida soc_ida; > > +static spinlock_t soc_lock; > > Use DEFINE_IDR() and DEFINE_SPINLOCK() rather than initialising them at runtime? > Good point! "static DEFINE_{IDR,SPINLOCK}()" even, in case that wasn't clear. Arnd