Resent-Date: Mon, 5 Oct 1998 12:57:23 +0200 (MET DST)
To: linux-m68k@lists.linux-m68k.org
Subject: kerneld -> kmod
X-Yow: Did I say I was a sardine?  Or a bus???
From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Date: 05 Oct 1998 10:17:44 +0200
Resent-From: linux-m68k@phil.uni-sb.de

Hi!

This patch removes the last vestige of kerneld from the sources.  RIP. :-)

Andreas.

----------------------------------------------------------------------
--- linux/drivers/char/m68kserial.c.~1~	Fri Jun 19 18:54:23 1998
+++ linux/drivers/char/m68kserial.c	Sun Oct  4 15:21:18 1998
@@ -90,8 +90,8 @@
 #include "atari_MIDI.h"
 #endif
 
-#ifdef CONFIG_KERNELD
-#include <linux/kerneld.h>
+#ifdef CONFIG_KMOD
+#include <linux/kmod.h>
 #endif
 
 #ifdef CONFIG_MAC_SCC
@@ -1184,7 +1184,7 @@
 	if ((line < 0) || (line >= NR_PORTS))
 		return -ENXIO;
 	info = rs_table + line;
-#ifdef CONFIG_KERNELD
+#ifdef CONFIG_KMOD
 	if (!info->port) {
 		char modname[30];
 		sprintf(modname, "char-major-%d-%d", TTY_MAJOR, MINOR(tty->device));
@@ -1192,7 +1192,7 @@
 	}
 #endif
 	if (!info->port)
-		return -ENODEV;
+		return -ENXIO;
 	if (serial_paranoia_check(info, tty->device, "rs_open"))
 		return -ENODEV;
 

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org

