small IDE cleanup: void * should not be used unless neccessary

From: Pavel Machek (pavel@suse.cz)
Date: Mon Feb 11 2002 - 17:09:37 EST


Hi!

This is really easy, please apply. (It will allow me to kill few casts
in future).
                                                                Pavel

--- linux/include/linux/ide.h Mon Feb 11 21:15:04 2002
+++ linux-dm/include/linux/ide.h Mon Feb 11 22:36:12 2002
@@ -529,7 +531,7 @@
 
 typedef struct hwif_s {
         struct hwif_s *next; /* for linked-list in ide_hwgroup_t */
- void *hwgroup; /* actually (ide_hwgroup_t *) */
+ struct hwgroup_s *hwgroup; /* actually (ide_hwgroup_t *) */
         ide_ioreg_t io_ports[IDE_NR_PORTS]; /* task file registers */
         hw_regs_t hw; /* Hardware info */
         ide_drive_t drives[MAX_DRIVES]; /* drive info */

-- 
(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/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:48 EST