summaryrefslogtreecommitdiff
path: root/i386/i386at/autoconf.c
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-05-14 12:54:57 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:37 +0200
commitb1fa6f389a8e51765967468005c3a3258b611273 (patch)
treed12d8c7d6c69a50338701f43371efefcb3c62b41 /i386/i386at/autoconf.c
parentd5514210b86c57db0277ce862a8081649ef26ef2 (diff)
2006-05-14 Thomas Schwinge <tschwinge@gnu.org>
* i386/i386at/autoconf.c (bus_device_init) <lpr> [! LINUX_DEV]: Depend on `MACH_LPR' instead. * i386/i386at/lpr.c: Fix obsolescent `#else' / `#endif' syntax.
Diffstat (limited to 'i386/i386at/autoconf.c')
-rw-r--r--i386/i386at/autoconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386at/autoconf.c b/i386/i386at/autoconf.c
index 51f2a0a..1c2e9df 100644
--- a/i386/i386at/autoconf.c
+++ b/i386/i386at/autoconf.c
@@ -82,7 +82,7 @@ struct bus_device bus_device_init[] = {
'?', 0, -1, -1, 0, 0, 0, SPL_TTY, 5},
#endif /* NCOM > 0 */
-#ifndef LINUX_DEV
+#ifdef MACH_LPR
#if NLPR > 0
{&lprdriver, "lpr", 0, lprintr, 0x378, 3, 0x378,
'?', 0, -1, -1, 0, 0, 0, SPL_TTY, 7},
@@ -91,7 +91,7 @@ struct bus_device bus_device_init[] = {
{&lprdriver, "lpr", 0, lprintr, 0x3bc, 3, 0x3bc,
'?', 0, -1, -1, 0, 0, 0, SPL_TTY, 7},
#endif /* NLPR > 0 */
-#endif /* ! LINUX_DEV */
+#endif /* MACH_LPR */
0
};