]> git.baikalelectronics.ru Git - kernel.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)
commit5c657f12192801eaefb18686597b3fb463ec9277
tree1d91f87ffed7e1f0b6e2a9e9e5515f053f4eea37
parent5e5129bdfffa76a7e28ec5a7f4ac21a2016e729e
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