Skip to content

Commit

Permalink
V4L/DVB (5583): VIDEO4LINUX-2: Replace MINOR() with a call to iminor().
Browse files Browse the repository at this point in the history
Replace the call to MINOR() with a call to the inline iminor()
routine.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Robert P. J. Day authored and Mauro Carvalho Chehab committed May 9, 2007
1 parent 53958b3 commit b378559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/ivtv/ivtv-fileops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b378559

Please sign in to comment.