diff options
Diffstat (limited to 'drivers/ide/buddha.c')
-rw-r--r-- | drivers/ide/buddha.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/ide/buddha.c b/drivers/ide/buddha.c index c5a3c9ef6a5d..c0fa76148d46 100644 --- a/drivers/ide/buddha.c +++ b/drivers/ide/buddha.c | |||
@@ -143,6 +143,10 @@ static void __init buddha_setup_ports(hw_regs_t *hw, unsigned long base, | |||
143 | hw->chipset = ide_generic; | 143 | hw->chipset = ide_generic; |
144 | } | 144 | } |
145 | 145 | ||
146 | static const struct ide_port_info buddha_port_info = { | ||
147 | .host_flags = IDE_HFLAG_NO_DMA, | ||
148 | }; | ||
149 | |||
146 | /* | 150 | /* |
147 | * Probe for a Buddha or Catweasel IDE interface | 151 | * Probe for a Buddha or Catweasel IDE interface |
148 | */ | 152 | */ |
@@ -224,7 +228,7 @@ fail_base2: | |||
224 | hws[i] = &hw[i]; | 228 | hws[i] = &hw[i]; |
225 | } | 229 | } |
226 | 230 | ||
227 | ide_host_add(NULL, hws, NULL); | 231 | ide_host_add(&buddha_port_info, hws, NULL); |
228 | } | 232 | } |
229 | 233 | ||
230 | return 0; | 234 | return 0; |