Commit 7fced565 authored by Kurt Van Dijck's avatar Kurt Van Dijck Committed by Greg Kroah-Hartman

softingcs: initialize spinlock with macro

Signed-off-by: default avatarKurt Van Dijck <kurt.van.dijck@eia.be>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fdd3f29e
......@@ -27,7 +27,7 @@
#include "softing_platform.h"
static int softingcs_index;
static spinlock_t softingcs_index_lock;
static DEFINE_SPINLOCK(softingcs_index_lock);
static int softingcs_reset(struct platform_device *pdev, int v);
static int softingcs_enable_irq(struct platform_device *pdev, int v);
......@@ -342,7 +342,6 @@ static struct pcmcia_driver softingcs_driver = {
static int __init softingcs_start(void)
{
spin_lock_init(&softingcs_index_lock);
return pcmcia_register_driver(&softingcs_driver);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment