libata-sff: ap->[last_]ctl are SFF specific
authorTejun Heo <tj@kernel.org>
Mon, 10 May 2010 19:41:37 +0000 (21:41 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 19 May 2010 17:35:47 +0000 (13:35 -0400)
commit5fe7454aa9c6ef5fcf506b0f2dfc20f696891f1a
tree94e01d83671ed916dd6c931333722702bf46c7ef
parent8244cd05979ef924787aa70fd80304f1773976a1
libata-sff: ap->[last_]ctl are SFF specific

ap->[last_]ctl are specific to SFF controllers.  Put them inside
CONFIG_ATA_SFF and move initialization into ata_sff_port_init().

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c
drivers/ata/libata-sff.c
include/linux/libata.h