Initialise spinlock

Unintialised usage of spinlock_t leads to "BUG: spinlock bad magic on CPU#0" errors during first use of spinlock. Ref: https://www.kernel.org/doc/Documentation/spinlocks.txt
Merge pull request #2 from pritambaral/patch-1

Initialise spinlock