ide: move hwif->present check out from ide_proc_register_port()
commit327617e1da15c3f04bfc50018b0319bd40849022
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:43 +0000 (2 19:56 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:43 +0000 (2 19:56 +0100)
treeadd2cecd9b29ecf4c592a2b0fe7a0496ee68663f
parenteafd88a3b5d86ba2dd515d430b57a01349d0867b
ide: move hwif->present check out from ide_proc_register_port()

Move hwif->present check out from ide_proc_register_port() to
ide_device_add_all().

There should be no functionality changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c
drivers/ide/ide-proc.c