[patch] fix compile error in serial.c

From: Paul Larson (plars@austin.ibm.com)
Date: Fri Jan 04 2002 - 10:04:13 EST


I havn't seen a patch for this yet, so here it is. Sorry for the duplicate
if someone's already done it and I just didn't see it yet.

Thanks,
Paul Larson

--- linux-2.5.2-pre7/drivers/char/serial.c Fri Jan 4 09:13:22 2002
+++ linux-new/drivers/char/serial.c Fri Jan 4 10:01:03 2002
@@ -5827,7 +5827,7 @@
 
 static kdev_t serial_console_device(struct console *c)
 {
- return MKDEV(TTY_MAJOR, 64 + c->index);
+ return mk_kdev(TTY_MAJOR, 64 + c->index);
 }
 
 /*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:25 EST