]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
icside: use ide_init_port_hw()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 16 Jul 2008 18:33:41 +0000 (20:33 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 16 Jul 2008 18:33:41 +0000 (20:33 +0200)
commitb25afdf1336237fb0e4021eb35744e577e19bd14
treee69180271d1c3b5b74096461bcc767b13ce5e4f6
parent26839f09ca2d0f4239e546cd912bc9f4694f3c5e
icside: use ide_init_port_hw()

* Move ide_find_port() and default_hwif_mmiops() calls from icside_setup()
  to icside_register_v{5,6}().

* Convert icside_setup() to initialize hw_regs_t instead ide_hwif_t
  and icside_register_v{5,6}() to use ide_init_port_hw().

* Rename icside_setup() to icside_setup_ports().

There should be no functional changes caused by this patch.

Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/arm/icside.c