mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-10 00:26:34 +00:00
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:
parent
5c50427090
commit
9dfcd15a6d
13 changed files with 1 additions and 34 deletions
|
@ -58,8 +58,6 @@ static __inline__ unsigned long ide_default_io_base(int index)
|
|||
}
|
||||
}
|
||||
|
||||
#define ide_default_io_ctl(base) ((base) + 0x206) /* obsolete */
|
||||
|
||||
#ifdef CONFIG_BLK_DEV_IDEPCI
|
||||
#define ide_init_default_irq(base) (0)
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue