]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
raw: use explicit llseek file operations
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Jul 2010 21:03:55 +0000 (23:03 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 16 Sep 2010 08:33:14 +0000 (10:33 +0200)
commitcb3b9cf818070df1bf592b71275bcf99d8edefcb
treeb6e82e8874890dca9c2d5c9013aecada829a6ef6
parent275bd41a6da179b4493171fa65eeeb2a9e47b316
raw: use explicit llseek file operations

The raw_fops may need to seek, so there should
be an explicit reference to default_llseek.
raw_ctl_fops does not contain a read or write
method, so we use noop_llseek to ignore seeking
requests without an error.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/char/raw.c