patch-2.4.9 linux/drivers/media/video/tvmixer.c
Next file: linux/drivers/media/video/videodev.c
Previous file: linux/drivers/media/radio/radio-sf16fmi.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Sun Aug 12 10:38:48 2001
- Orig file:
v2.4.8/linux/drivers/media/video/tvmixer.c
- Orig date:
Fri Feb 9 11:30:23 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/media/video/tvmixer.c linux/drivers/media/video/tvmixer.c
@@ -42,7 +42,6 @@
static int tvmixer_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg);
static int tvmixer_open(struct inode *inode, struct file *file);
static int tvmixer_release(struct inode *inode, struct file *file);
-static loff_t tvmixer_llseek(struct file *file, loff_t offset, int origin);
static struct i2c_driver driver = {
@@ -55,7 +54,7 @@
static struct file_operations tvmixer_fops = {
owner: THIS_MODULE,
- llseek: tvmixer_llseek,
+ llseek: no_llseek,
ioctl: tvmixer_ioctl,
open: tvmixer_open,
release: tvmixer_release,
@@ -231,11 +230,6 @@
if (client->adapter->dec_use)
client->adapter->dec_use(client->adapter);
return 0;
-}
-
-static loff_t tvmixer_llseek(struct file *file, loff_t offset, int origin)
-{
- return -ESPIPE;
}
/* ----------------------------------------------------------------------- */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)