summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.37/411-gpio_ioctl.patch
blob: 6609a1670af5e5d3297b09bbc6baf6cc0c67880b (plain)
1
2
3
4
5
6
7
8
9
10
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
 };