diff options
Diffstat (limited to 'drivers/staging/dream/pmem.c')
-rw-r--r-- | drivers/staging/dream/pmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/dream/pmem.c b/drivers/staging/dream/pmem.c index 7d6bbad..7189725 100644 --- a/drivers/staging/dream/pmem.c +++ b/drivers/staging/dream/pmem.c @@ -1231,7 +1231,7 @@ int pmem_setup(struct android_pmem_platform_data *pdata, pmem[id].ioctl = ioctl; pmem[id].release = release; init_rwsem(&pmem[id].bitmap_sem); - init_MUTEX(&pmem[id].data_list_sem); + sema_init(&pmem[id].data_list_sem, 1); INIT_LIST_HEAD(&pmem[id].data_list); pmem[id].dev.name = pdata->name; pmem[id].dev.minor = id; |