summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorGleb O. Raiko <raiko@niisi.msk.ru>1999-10-07 07:31:14 +0000
committerGleb O. Raiko <raiko@niisi.msk.ru>1999-10-07 07:31:14 +0000
commitbdb7d8cec877a5f3c9eb16d84c6c86cfaa360d79 (patch)
tree7df7a10b97a869e77dada13de606ae60a3cdeb2d /arch/mips
parent4c5d3a202c100c1a07ad373d3966c630da76d891 (diff)
Add necessary #ifdefs to compile cleanly in case the proc fs and the vt support aren't choosen
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/jazz/setup.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/mips/jazz/setup.c b/arch/mips/jazz/setup.c
index e1120fe18..9c289ac66 100644
--- a/arch/mips/jazz/setup.c
+++ b/arch/mips/jazz/setup.c
@@ -1,4 +1,4 @@
-/* $Id: setup.c,v 1.21 1999/06/22 22:08:07 tsbogend Exp $
+/* $Id: setup.c,v 1.22 1999/08/21 22:19:10 ralf Exp $
*
* Setup pointers to hardware-dependent routines.
*
@@ -102,7 +102,12 @@ __initfunc(void jazz_setup(void))
#ifdef CONFIG_BLK_DEV_IDE
ide_ops = &std_ide_ops;
#endif
+#ifdef CONFIG_BLK_DEV_FD
+ fd_ops = &jazz_fd_ops;
+#endif
+#ifdef CONFIG_VT
conswitchp = &dummy_con;
+#endif
#warning "Somebody should check if screen_info is ok for Jazz."
@@ -120,5 +125,4 @@ __initfunc(void jazz_setup(void))
rtc_ops = &jazz_rtc_ops;
kbd_ops = &jazz_kbd_ops;
- fd_ops = &jazz_fd_ops;
}