ide: remove ide_default_io_ctl() macro
It is always == '((base) + 0x206)' if CONFIG_IDE_ARCH_OBSOLETE_DEFAULTS=y and it is not needed otherwise (arm, blackfin, parisc, ppc64, sh, sparc[64]). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
@@ -202,7 +202,7 @@ static void __init init_ide_data (void)
|
||||
for (index = 0; index < MAX_HWIFS; ++index) {
|
||||
ide_hwif_t *hwif = &ide_hwifs[index];
|
||||
unsigned long io_addr = ide_default_io_base(index);
|
||||
unsigned long ctl_addr = ide_default_io_ctl(io_addr);
|
||||
unsigned long ctl_addr = io_addr + 0x206;
|
||||
|
||||
ide_init_port_data(hwif, index);
|
||||
|
||||
|
Reference in New Issue
Block a user