Ver Fonte

linux/generic: fix ioctl on 2.6.36 (http://lwn.net/Articles/394724/)

SVN-Revision: 22921
Alexandros C. Couloumbis há 15 anos atrás
pai
commit
6cff1caa68
1 ficheiros alterados com 11 adições e 0 exclusões
  1. 11 0
      target/linux/generic/patches-2.6.36/411-gpio_ioctl.patch

+ 11 - 0
target/linux/generic/patches-2.6.36/411-gpio_ioctl.patch

@@ -0,0 +1,11 @@
+--- a/drivers/char/gpio_dev.c
++++ b/drivers/char/gpio_dev.c
+@@ -114,7 +114,7 @@ gpio_close(struct inode * inode, struct
+ }
+ 
+ struct file_operations gpio_fops = {
+-	ioctl:		gpio_ioctl,
++	unlocked_ioctl:	gpio_ioctl,
+ 	open:		gpio_open,
+ 	release:	gpio_close
+ };