patch-2.3.23 linux/include/asm-arm/arch-arc/ide.h

Next file: linux/include/asm-arm/arch-arc/irq.h
Previous file: linux/include/asm-arm/arch-arc/hardware.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.22/linux/include/asm-arm/arch-arc/ide.h linux/include/asm-arm/arch-arc/ide.h
@@ -42,7 +42,7 @@
 #ifdef CONFIG_ARCH_A5K
 	hw_regs_t hw;
 
-        memset(hw, 0, sizeof(*hw));
+        memset(&hw, 0, sizeof(hw));
 
 	ide_init_hwif_ports(&hw, 0x1f0, 0x3f6, IRQ_HARDDISK);
 	ide_register_hw(&hw, NULL);

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