Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Robert P. J. Day <rpjday@mindspring.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

authored by

Robert P. J. Day and committed by
Mauro Carvalho Chehab
b3785596 53958b35

+1 -1
+1 -1
drivers/media/video/ivtv/ivtv-fileops.c
··· 804 804 struct ivtv_open_id *item; 805 805 struct ivtv *itv = NULL; 806 806 struct ivtv_stream *s = NULL; 807 - int minor = MINOR(inode->i_rdev); 807 + int minor = iminor(inode); 808 808 809 809 /* Find which card this open was on */ 810 810 spin_lock(&ivtv_cards_lock);