Messages in this thread Patch in this message | | | Date | Tue, 19 Feb 2002 20:41:55 +0100 | From | Pavel Machek <> | Subject | Tiny IDE cleanup |
| |
Hi!
What about this tiny cleanup? Its against 2.4., but applicable to 2.5, too.
Pavel
--- clean.2.4/include/linux/ide.h Mon Nov 5 21:43:28 2001 +++ linux-swsusp.24/include/linux/ide.h Tue Feb 19 20:38:38 2002 @@ -697,11 +698,9 @@ * structure directly (the allocation/layout may change!). * */ -#ifndef _IDE_C extern ide_hwif_t ide_hwifs[]; /* master data repository */ extern ide_module_t *ide_modules; extern ide_module_t *ide_probe; -#endif extern int noautodma; /* @@ -900,10 +899,8 @@ void do_ide_request (request_queue_t * q); void ide_init_subdrivers (void); -#ifndef _IDE_C extern struct block_device_operations ide_fops[]; extern ide_proc_entry_t generic_subdriver_entries[]; -#endif #ifdef _IDE_C #ifdef CONFIG_BLK_DEV_IDE -- (about SSSCA) "I don't say this lightly. However, I really think that the U.S. no longer is classifiable as a democracy, but rather as a plutocracy." --hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |