serial: sc16is7xx: fix implicit decl of func copy_{to,from}_user
authorJon Ringle <jringle@gridpoint.com>
Fri, 25 Apr 2014 19:53:10 +0000 (15:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 20:22:41 +0000 (13:22 -0700)
commitd952795d8193c5a7a8eabdc14fab48777fdcd7c8
tree9ad4bf5cdfe921438d4759beb8c11019c03e763f
parentd3bdba934239c91ec0b7c41b19c059e4c05dc138
serial: sc16is7xx: fix implicit decl of func copy_{to,from}_user

Fix by including linux/uaccess.h:

   drivers/tty/serial/sc16is7xx.c: In function 'sc16is7xx_ioctl':
>> drivers/tty/serial/sc16is7xx.c:861:3: error: implicit declaration of function 'copy_from_user' [-Werror=implicit-function-declaration]
>> drivers/tty/serial/sc16is7xx.c:867:3: error: implicit declaration of function 'copy_to_user' [-Werror=implicit-function-declaration]

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c