mtd/drivers/mtd mtdchar.c,1.54,1.55
David Woodhouse
dwmw2 at infradead.org
Fri Nov 7 04:51:14 EST 2003
Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv2267
Modified Files:
mtdchar.c
Log Message:
Switch to iminor().
>From Miernik
Index: mtdchar.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdchar.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- mtdchar.c 21 May 2003 10:50:43 -0000 1.54
+++ mtdchar.c 7 Nov 2003 09:51:11 -0000 1.55
@@ -62,7 +62,7 @@
static int mtd_open(struct inode *inode, struct file *file)
{
- int minor = minor(inode->i_rdev);
+ int minor = iminor(inode);
int devnum = minor >> 1;
struct mtd_info *mtd;
More information about the linux-mtd-cvs
mailing list