diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-09-07 14:33:47 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-07 19:31:32 -0700 |
commit | 0f0800f17a60816141f138a422477dc936262c42 (patch) | |
tree | f21b866ac5d37d350c7754de2c3ade09be94e927 /drivers/staging/vme | |
parent | d6835e8417554bfff40ba9603299f60de66fdf0a (diff) | |
download | blackbird-op-linux-0f0800f17a60816141f138a422477dc936262c42.tar.gz blackbird-op-linux-0f0800f17a60816141f138a422477dc936262c42.zip |
staging: Bulk convert the semaphore mess
init_MUTEX(_LOCKED) and DECLARE_MUTEX are going away. Bulk convert
staging users.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vme')
-rw-r--r-- | drivers/staging/vme/devices/vme_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_user.c index 8f77bd24630c..71bbc526626c 100644 --- a/drivers/staging/vme/devices/vme_user.c +++ b/drivers/staging/vme/devices/vme_user.c @@ -683,7 +683,7 @@ static int __init vme_user_probe(struct device *dev, int cur_bus, int cur_slot) for (i = 0; i < VME_DEVS; i++) { image[i].kern_buf = NULL; image[i].pci_buf = 0; - init_MUTEX(&(image[i].sem)); + sema_init(&(image[i].sem), 1); image[i].device = NULL; image[i].resource = NULL; image[i].users = 0; |