]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-pmac: dynamically allocate struct pmac_ide_hwif instances (take 2)
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 15:36:32 +0000 (17:36 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 26 Apr 2008 15:36:32 +0000 (17:36 +0200)
commit5297a3e522ff77e01fd0e792acc5ff0517822708
tree1d91f87ffed7e1f0b6e2a9e9e5515f053f4eea37
parent7d9f3d51cf351ac35b4004cc40c7fd885fb30c5c
ide-pmac: dynamically allocate struct pmac_ide_hwif instances (take 2)

* Dynamically allocate struct pmac_ide_hwif instances in pmac_ide_macio_attach()
  and pmac_ide_pci_attach(), then remove no longer needed pmac_ide[].

v2:
* Build fix from Kamalesh Babulal.

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ppc/pmac.c