[PATCH] libata-hp-prep: implement ata_dev_init()
authorTejun Heo <htejun@gmail.com>
Wed, 31 May 2006 09:27:30 +0000 (18:27 +0900)
committerTejun Heo <htejun@gmail.com>
Wed, 31 May 2006 09:27:30 +0000 (18:27 +0900)
commit3ef3b43d5633d30fa3f033f62094ec2e9c5b8376
tree815ba1afeb202834667e1dff08fa69b63ec0628f
parentabdda7331d469fa965167365f011d05e226008fb
[PATCH] libata-hp-prep: implement ata_dev_init()

Move initialization of struct ata_device into ata_dev_init() in
preparation for hotplug.  This patch calls ata_dev_init() from
ata_host_init() and thus makes no functional difference.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/scsi/libata-core.c
drivers/scsi/libata.h