summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-arc/ide.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-01-27 01:05:20 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-01-27 01:05:20 +0000
commit546db14ee74118296f425f3b91634fb767d67290 (patch)
tree22b613a3da8d4bf663eec5e155af01b87fdf9094 /include/asm-arm/arch-arc/ide.h
parent1e25e41c4f5474e14452094492dbc169b800e4c8 (diff)
Merge with Linux 2.3.23. The new bootmem stuff has broken various
platforms. At this time I've only verified that IP22 support compiles and IP27 actually works.
Diffstat (limited to 'include/asm-arm/arch-arc/ide.h')
-rw-r--r--include/asm-arm/arch-arc/ide.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/arch-arc/ide.h b/include/asm-arm/arch-arc/ide.h
index 35c28427f..bccbe3f50 100644
--- a/include/asm-arm/arch-arc/ide.h
+++ b/include/asm-arm/arch-arc/ide.h
@@ -42,7 +42,7 @@ static __inline__ void ide_init_default_hwifs(void)
#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);