mtd/drivers/mtd mtdchar.c,1.48,1.49
David Woodhouse
dwmw2 at infradead.org
Fri Jan 24 07:03:01 EST 2003
Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv20683
Modified Files:
mtdchar.c
Log Message:
s/MINOR/minor/
Index: mtdchar.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdchar.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- mtdchar.c 30 Sep 2002 14:52:08 -0000 1.48
+++ mtdchar.c 24 Jan 2003 12:02:58 -0000 1.49
@@ -60,7 +60,7 @@
static int mtd_open(struct inode *inode, struct file *file)
{
- int minor = MINOR(inode->i_rdev);
+ int minor = minor(inode->i_rdev);
int devnum = minor >> 1;
struct mtd_info *mtd;
More information about the linux-mtd-cvs
mailing list