aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.39/834-gpio_ioctl.patch
blob: 3b7063223ecda6601e050f7f19b8719af17b00dc (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
 };