aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/falconide.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/falconide.c')
-rw-r--r--drivers/ide/falconide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/falconide.c b/drivers/ide/falconide.c
index 770cfa67bdc8..adb5b0cf7626 100644
--- a/drivers/ide/falconide.c
+++ b/drivers/ide/falconide.c
@@ -138,7 +138,7 @@ static void __init falconide_setup_ports(hw_regs_t *hw)
138static int __init falconide_init(void) 138static int __init falconide_init(void)
139{ 139{
140 struct ide_host *host; 140 struct ide_host *host;
141 hw_regs_t hw, *hws[] = { &hw, NULL, NULL, NULL }; 141 hw_regs_t hw, *hws[] = { &hw };
142 int rc; 142 int rc;
143 143
144 if (!MACH_IS_ATARI || !ATARIHW_PRESENT(IDE)) 144 if (!MACH_IS_ATARI || !ATARIHW_PRESENT(IDE))
@@ -153,7 +153,7 @@ static int __init falconide_init(void)
153 153
154 falconide_setup_ports(&hw); 154 falconide_setup_ports(&hw);
155 155
156 host = ide_host_alloc(&falconide_port_info, hws); 156 host = ide_host_alloc(&falconide_port_info, hws, 1);
157 if (host == NULL) { 157 if (host == NULL) {
158 rc = -ENOMEM; 158 rc = -ENOMEM;
159 goto err; 159 goto err;