aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r--drivers/ide/ide.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index c2fb5c964a51..a1a02c74d77f 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -165,6 +165,10 @@ static void ide_port_init_devices_data(ide_hwif_t *hwif)
165 } 165 }
166} 166}
167 167
168#ifndef CONFIG_IDE_ARCH_OBSOLETE_DEFAULTS
169# define ide_default_io_base(index) (0)
170# define ide_init_default_irq(base) (0)
171#endif
168 172
169/* 173/*
170 * init_ide_data() sets reasonable default values into all fields 174 * init_ide_data() sets reasonable default values into all fields