summaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v10
diff options
context:
space:
mode:
authorJesper Nilsson <jesper@jni.nu>2008-06-29 23:38:42 +0200
committerJesper Nilsson <jesper@jni.nu>2008-06-29 23:38:42 +0200
commit53e43d014cb7d5a3bd53dbdbf0e74977e7dda923 (patch)
tree53cb0c287e60fdf09339e985d6cedaa3e7cbcabe /arch/cris/arch-v10
parentdc1493aff0330130b2606d8accb458b1fef129a7 (diff)
parent9be48a94b8ae8c944dc918ad65f2f27e9df3ed00 (diff)
downloadop-kernel-dev-53e43d014cb7d5a3bd53dbdbf0e74977e7dda923.zip
op-kernel-dev-53e43d014cb7d5a3bd53dbdbf0e74977e7dda923.tar.gz
Merge branch 'pcf8563_mutex_spinlock' into cris
Diffstat (limited to 'arch/cris/arch-v10')
-rw-r--r--arch/cris/arch-v10/drivers/pcf8563.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/cris/arch-v10/drivers/pcf8563.c b/arch/cris/arch-v10/drivers/pcf8563.c
index 52103d1..8769dc91 100644
--- a/arch/cris/arch-v10/drivers/pcf8563.c
+++ b/arch/cris/arch-v10/drivers/pcf8563.c
@@ -233,7 +233,7 @@ int pcf8563_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
if (copy_to_user((struct rtc_time *) arg, &tm,
sizeof tm)) {
- spin_unlock(&rtc_lock);
+ mutex_unlock(&rtc_lock);
return -EFAULT;
}
OpenPOWER on IntegriCloud