lkml.org 
[lkml]   [2002]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[patch] fix compile error in serial.c
Date
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/
\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.114 / U:2.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site