diff options
author | Michael Hunold <devnull@localhost> | 2003-09-10 11:10:50 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-09-10 11:10:50 +0000 |
commit | 311f3003c92e319aa96af769bf50d2d90a0b8710 (patch) | |
tree | 5096918a3b9eea66e928f90a8571d8b08de56d50 /linux/drivers/media/dvb/dvb-core/dvbdev.c | |
parent | 04a62017bc61cc65ab5f408a69b4f5a6edece8d0 (diff) | |
download | mediapointer-dvb-s2-311f3003c92e319aa96af769bf50d2d90a0b8710.tar.gz mediapointer-dvb-s2-311f3003c92e319aa96af769bf50d2d90a0b8710.tar.bz2 |
Use iminor() instead of minor(), add a macro to provide 2.4
backward compatibility.
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/dvbdev.c')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvbdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvbdev.c b/linux/drivers/media/dvb/dvb-core/dvbdev.c index 7f3421778..b7978047f 100644 --- a/linux/drivers/media/dvb/dvb-core/dvbdev.c +++ b/linux/drivers/media/dvb/dvb-core/dvbdev.c @@ -80,7 +80,7 @@ static int dvb_device_open(struct inode *inode, struct file *file) { struct dvb_device *dvbdev; - dvbdev = dvbdev_find_device (minor(inode->i_rdev)); + dvbdev = dvbdev_find_device (iminor(inode)); if (dvbdev && dvbdev->fops) { int err = 0; |