diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-20 20:37:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-20 20:37:46 -0400 |
commit | 3a533374283aea50eab3976d8a6d30532175f009 (patch) | |
tree | 5944a2b40d8b40ec68818eb40235872c609ea741 /arch/cris/arch-v10/drivers | |
parent | fb6624ebd912e3d6907ca6490248e73368223da9 (diff) | |
parent | d17ffb4c9d86194bb74cbc30f4b65de59c27f6cd (diff) |
Merge branch 'for-linus' of git://www.jni.nu/cris
* 'for-linus' of git://www.jni.nu/cris:
[CRISv10] Clean up compressed/misc.c
[CRISv10] Correct whitespace damage.
[CRIS] Correct definition of subdirs for install_headers.
[CRIS] Correct image makefiles to allow using a separate OBJ-directory.
[CRIS] Build fixes for compressed and rescue images for v10 and v32:
It looks at least odd to apply spin_unlock to a mutex.
cris: compile fixes for 2.6.26-rc5
Diffstat (limited to 'arch/cris/arch-v10/drivers')
-rw-r--r-- | arch/cris/arch-v10/drivers/pcf8563.c | 2 |
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 52103d16dc6c..8769dc914073 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, | |||
233 | 233 | ||
234 | if (copy_to_user((struct rtc_time *) arg, &tm, | 234 | if (copy_to_user((struct rtc_time *) arg, &tm, |
235 | sizeof tm)) { | 235 | sizeof tm)) { |
236 | spin_unlock(&rtc_lock); | 236 | mutex_unlock(&rtc_lock); |
237 | return -EFAULT; | 237 | return -EFAULT; |
238 | } | 238 | } |
239 | 239 | ||