[Armadeus-commitlog] armadeus branch, master, updated. latestrelease-62-gd5c1580
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2009-09-15 13:43:04
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via d5c15806568a183dbd34090f2f9207c20c639d49 (commit)
from 27d90aa76fe52ca8271e4174859333d678481449 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d5c15806568a183dbd34090f2f9207c20c639d49
Author: Julien Boibessot <jul...@ar...>
Date: Tue Sep 15 15:42:51 2009 +0200
[LINUX] Correct small bug in gpio ioctl handling on APF27 (thanks Luca)
-----------------------------------------------------------------------
Summary of changes:
target/linux/modules/gpio/core.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/target/linux/modules/gpio/core.c b/target/linux/modules/gpio/core.c
index bc35029..3ebe648 100755
--- a/target/linux/modules/gpio/core.c
+++ b/target/linux/modules/gpio/core.c
@@ -656,7 +656,11 @@ int armadeus_gpio_dev_ioctl(struct inode *inode, struct file *filp,
/* Extract and test minor */
minor = MINOR(inode->i_rdev);
+#ifndef CONFIG_ARCH_IMX
+ if (minor < FULL_PORTF_MINOR) {
+#else
if (minor < FULL_PORTD_MINOR) {
+#endif
printk("IOCTLs are only available on 'full port' minors !\n");
ret = -EFAULT;
goto out;
hooks/post-receive
--
armadeus
|