]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: factor out cable detection from ide_init_port()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 17 Apr 2008 22:46:22 +0000 (00:46 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 17 Apr 2008 22:46:22 +0000 (00:46 +0200)
commitc7f6f21aaeb826a9b04b5897a92f29226995170f
tree477ae32fb4a2311e15a6ef8ff9df58177cd69092
parent8f22a72bf52e76d6bcd11bf9e695fdde61bd454c
ide: factor out cable detection from ide_init_port()

* Factor out cable detection from ide_init_port() to ide_port_cable_detect().

* Move ide_port_cable_detect() call to ide_device_add_all().

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c