lp: move compat_ioctl handling into lp.c
authorArnd Bergmann <arnd@arndb.de>
Sat, 14 Nov 2009 00:33:13 +0000 (01:33 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 10 Dec 2009 21:55:36 +0000 (22:55 +0100)
commit3695669cd4f5fb6d569fd4243312c1b4a05bd5ce
tree0e74dafb6f26ac2bbd9d0dcea019798380b55aeb
parent43c6e7b97f9ea0f4dec430dbafb6afa6ac711eb1
lp: move compat_ioctl handling into lp.c

Handling for LPSETTIMEOUT can easily be done in lp_ioctl, which
is the only user. As a positive side-effect, push the BKL
into the ioctl methods.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/lp.c
fs/compat_ioctl.c