patch-2.3.99-pre3 linux/drivers/ide/ide-geometry.c

Next file: linux/drivers/ide/ide-pci.c
Previous file: linux/drivers/ide/ide-floppy.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre2/linux/drivers/ide/ide-geometry.c linux/drivers/ide/ide-geometry.c
@@ -1,9 +1,9 @@
 /*
- * linux/drivers/block/ide-geometry.c
+ * linux/drivers/ide/ide-geometry.c
  */
 #include <linux/config.h>
 
-#if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE)
+#ifdef CONFIG_IDE
 #include <linux/ide.h>
 
 #include <asm/io.h>
@@ -211,4 +211,4 @@
 		       drive->bios_cyl, drive->bios_head, drive->bios_sect);
 	return ret;
 }
-#endif /* (CONFIG_BLK_DEV_IDE) || (CONFIG_BLK_DEV_IDE_MODULE) */
+#endif /* CONFIG_IDE */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)