ide: remove hw_regs_t typedef
Remove hw_regs_t typedef and rename struct hw_regs_s to struct ide_hw. There should be no functional changes caused by this patch. Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
@@ -381,7 +381,7 @@ static int icside_dma_off_init(ide_hwif_t *hwif, const struct ide_port_info *d)
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
|
||||
static void icside_setup_ports(hw_regs_t *hw, void __iomem *base,
|
||||
static void icside_setup_ports(struct ide_hw *hw, void __iomem *base,
|
||||
struct cardinfo *info, struct expansion_card *ec)
|
||||
{
|
||||
unsigned long port = (unsigned long)base + info->dataoffset;
|
||||
@@ -410,7 +410,7 @@ icside_register_v5(struct icside_state *state, struct expansion_card *ec)
|
||||
{
|
||||
void __iomem *base;
|
||||
struct ide_host *host;
|
||||
hw_regs_t hw, *hws[] = { &hw };
|
||||
struct ide_hw hw, *hws[] = { &hw };
|
||||
int ret;
|
||||
|
||||
base = ecardm_iomap(ec, ECARD_RES_MEMC, 0, 0);
|
||||
@@ -467,7 +467,7 @@ icside_register_v6(struct icside_state *state, struct expansion_card *ec)
|
||||
struct ide_host *host;
|
||||
unsigned int sel = 0;
|
||||
int ret;
|
||||
hw_regs_t hw[2], *hws[] = { &hw[0], &hw[1] };
|
||||
struct ide_hw hw[2], *hws[] = { &hw[0], &hw[1] };
|
||||
struct ide_port_info d = icside_v6_port_info;
|
||||
|
||||
ioc_base = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0);
|
||||
|
Reference in New Issue
Block a user