patch-2.4.17 linux/drivers/ide/ide-floppy.c
Next file: linux/drivers/ide/ide-tape.c
Previous file: linux/drivers/ide/ide-disk.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri Dec 21 16:40:32 2001
- Orig file:
linux-2.4.16/drivers/ide/ide-floppy.c
- Orig date:
Thu Oct 11 16:14:32 2001
diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/drivers/ide/ide-floppy.c linux/drivers/ide/ide-floppy.c
@@ -2071,8 +2071,10 @@
}
/* We must remove proc entries defined in this module.
Otherwise we oops while accessing these entries */
+#ifdef CONFIG_PROC_FS
if (drive->proc)
ide_remove_proc_entries(drive->proc, idefloppy_proc);
+#endif
}
ide_unregister_module(&idefloppy_module);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)