ide: pass number of ports to ide_host_{alloc,add}() (v2)
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 17 May 2009 17:12:24 +0000 (19:12 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 17 May 2009 17:12:24 +0000 (19:12 +0200)
commitdca3983059a4481e4ae97bbf0ac4b4c21429e1a5
treeee15aed0673b5474bdadc93e3054f361bf2e839b
parent29e52cf793ded6bece50de50e738596f94f07d9f
ide: pass number of ports to ide_host_{alloc,add}() (v2)

Pass number of ports to ide_host_{alloc,add}() and then update
all users accordingly.

v2:
- drop no longer needed NULL initializers in buddha.c, cmd640.c and gayle.c
  (noticed by Sergei)

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>
28 files changed:
drivers/ide/at91_ide.c
drivers/ide/au1xxx-ide.c
drivers/ide/buddha.c
drivers/ide/cmd640.c
drivers/ide/cs5520.c
drivers/ide/delkin_cb.c
drivers/ide/falconide.c
drivers/ide/gayle.c
drivers/ide/icside.c
drivers/ide/ide-4drives.c
drivers/ide/ide-cs.c
drivers/ide/ide-generic.c
drivers/ide/ide-h8300.c
drivers/ide/ide-legacy.c
drivers/ide/ide-pnp.c
drivers/ide/ide-probe.c
drivers/ide/ide_platform.c
drivers/ide/macide.c
drivers/ide/palm_bk3710.c
drivers/ide/pmac.c
drivers/ide/q40ide.c
drivers/ide/rapide.c
drivers/ide/scc_pata.c
drivers/ide/setup-pci.c
drivers/ide/sgiioc4.c
drivers/ide/tx4938ide.c
drivers/ide/tx4939ide.c
include/linux/ide.h