提交 b3785596 编写于 作者: R Robert P. J. Day 提交者: Mauro Carvalho Chehab

V4L/DVB (5583): VIDEO4LINUX-2: Replace MINOR() with a call to iminor().

Replace the call to MINOR() with a call to the inline iminor()
routine.
Signed-off-by: NRobert P. J. Day <rpjday@mindspring.com>
Acked-by: NHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 53958b35
......@@ -804,7 +804,7 @@ int ivtv_v4l2_open(struct inode *inode, struct file *filp)
struct ivtv_open_id *item;
struct ivtv *itv = NULL;
struct ivtv_stream *s = NULL;
int minor = MINOR(inode->i_rdev);
int minor = iminor(inode);
/* Find which card this open was on */
spin_lock(&ivtv_cards_lock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册