patch-pre2.0.3 linux/fs/devices.c
Next file: linux/fs/dquot.c
Previous file: linux/fs/binfmt_java.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon May 13 07:36:19 1996
- Orig file:
pre2.0.2/linux/fs/devices.c
- Orig date:
Fri Apr 19 10:08:01 1996
diff -u --recursive --new-file pre2.0.2/linux/fs/devices.c linux/fs/devices.c
@@ -25,7 +25,7 @@
/* serial module kerneld load support */
struct tty_driver *get_tty_driver(kdev_t device);
#define isa_tty_dev(ma) (ma == TTY_MAJOR || ma == TTYAUX_MAJOR)
-#define need_serial(ma,mi) (get_tty_driver(to_kdev_t(MKDEV(ma,mi))) == NULL)
+#define need_serial(ma,mi) (get_tty_driver(MKDEV(ma,mi)) == NULL)
#endif
struct device_struct {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this