[kernel] refresh 2.6.37 patches
[openwrt.git] / target / linux / generic / patches-2.6.37 / 411-gpio_ioctl.patch
1 --- a/drivers/char/gpio_dev.c
2 +++ b/drivers/char/gpio_dev.c
3 @@ -114,7 +114,7 @@ gpio_close(struct inode * inode, struct
4  }
5  
6  struct file_operations gpio_fops = {
7 -       ioctl:          gpio_ioctl,
8 +       unlocked_ioctl: gpio_ioctl,
9         open:           gpio_open,
10         release:        gpio_close
11  };