2010-11-04 00:13:33 +08:00
|
|
|
--- a/drivers/char/gpio_dev.c
|
|
|
|
+++ b/drivers/char/gpio_dev.c
|
2011-02-13 03:04:12 +08:00
|
|
|
@@ -114,7 +114,7 @@ gpio_close(struct inode * inode, struct
|
2010-11-04 00:13:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
struct file_operations gpio_fops = {
|
|
|
|
- ioctl: gpio_ioctl,
|
|
|
|
+ unlocked_ioctl: gpio_ioctl,
|
|
|
|
open: gpio_open,
|
|
|
|
release: gpio_close
|
|
|
|
};
|