From 08c5080d49b00e4f4a6cff5918b4389eae243134 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 11 May 2018 23:41:59 +0100 Subject: [PATCH] ubee: make IDE work as an option --- Kernel/platform-ubee/discard.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kernel/platform-ubee/discard.c b/Kernel/platform-ubee/discard.c index 6ea5593f..1604d9d1 100644 --- a/Kernel/platform-ubee/discard.c +++ b/Kernel/platform-ubee/discard.c @@ -170,8 +170,10 @@ void device_init(void) inittod(); /* Figure out what disks we have */ diskprobe(); +#ifdef CONFIG_IDE /* IDE */ devide_init(); +#endif /* ST506 */ hd_init(); } -- 2.34.1