libahci_platform: add host_flags parameter in ahci_platform_init_host()
authorKefeng Wang <kefeng.wang@linaro.org>
Wed, 14 May 2014 06:13:41 +0000 (14:13 +0800)
committerTejun Heo <tj@kernel.org>
Wed, 14 May 2014 17:07:10 +0000 (13:07 -0400)
commitf9f36917903b57c571b1ddcfc6bc794ca4dd8232
treecbabd67e07fd49de26f8ce42adba490eddaca77e
parent888d91a08fa8e2be4cb0eef1e5736ef68b8f77f0
libahci_platform: add host_flags parameter in ahci_platform_init_host()

Add a dynamic host_flags argument to make ahci_platform_init_host more flexible,
then remove the AHCI_HFLAGS(...) argument from some driver's ata_port_info,
and pass that in as the new argument.

Cc: Hans de Geode <hdegoede@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kefeng Wang <kefeng.wang@linaro.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_da850.c
drivers/ata/ahci_imx.c
drivers/ata/ahci_mvebu.c
drivers/ata/ahci_platform.c
drivers/ata/ahci_st.c
drivers/ata/ahci_sunxi.c
drivers/ata/ahci_xgene.c
drivers/ata/libahci_platform.c
include/linux/ahci_platform.h