ide: add CONFIG_IDE_ARCH_OBSOLETE_DEFAULTS (take 2)
[deliverable/linux.git] / drivers / ide / ide.c
index c2fb5c964a518cf4b4d52c4a5aaed6a5c2e8ba72..a1a02c74d77f6bdd78b28fda47f6dcece82ed9fd 100644 (file)
@@ -165,6 +165,10 @@ static void ide_port_init_devices_data(ide_hwif_t *hwif)
        }
 }
 
+#ifndef CONFIG_IDE_ARCH_OBSOLETE_DEFAULTS
+# define ide_default_io_base(index)    (0)
+# define ide_init_default_irq(base)    (0)
+#endif
 
 /*
  * init_ide_data() sets reasonable default values into all fields
This page took 0.024643 seconds and 5 git commands to generate.