diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-05-17 13:12:25 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-05-17 13:12:25 -0400 |
commit | 9f36d31437922354d104a2db407f397e79e4027e (patch) | |
tree | a799933c3d327103b49298416581e8ad5e788d43 /drivers/ide/au1xxx-ide.c | |
parent | dca3983059a4481e4ae97bbf0ac4b4c21429e1a5 (diff) |
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>
Diffstat (limited to 'drivers/ide/au1xxx-ide.c')
-rw-r--r-- | drivers/ide/au1xxx-ide.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/au1xxx-ide.c b/drivers/ide/au1xxx-ide.c index 32f5be686018..58121bd6c115 100644 --- a/drivers/ide/au1xxx-ide.c +++ b/drivers/ide/au1xxx-ide.c | |||
@@ -449,7 +449,7 @@ static int auide_ddma_init(ide_hwif_t *hwif, const struct ide_port_info *d) | |||
449 | } | 449 | } |
450 | #endif | 450 | #endif |
451 | 451 | ||
452 | static void auide_setup_ports(hw_regs_t *hw, _auide_hwif *ahwif) | 452 | static void auide_setup_ports(struct ide_hw *hw, _auide_hwif *ahwif) |
453 | { | 453 | { |
454 | int i; | 454 | int i; |
455 | unsigned long *ata_regs = hw->io_ports_array; | 455 | unsigned long *ata_regs = hw->io_ports_array; |
@@ -508,7 +508,7 @@ static int au_ide_probe(struct platform_device *dev) | |||
508 | struct resource *res; | 508 | struct resource *res; |
509 | struct ide_host *host; | 509 | struct ide_host *host; |
510 | int ret = 0; | 510 | int ret = 0; |
511 | hw_regs_t hw, *hws[] = { &hw }; | 511 | struct ide_hw hw, *hws[] = { &hw }; |
512 | 512 | ||
513 | #if defined(CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA) | 513 | #if defined(CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA) |
514 | char *mode = "MWDMA2"; | 514 | char *mode = "MWDMA2"; |