]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:25 +0000 (21:17 -0600)
commit5964fa2ba8dc786bdda416b716001ce23b084790
tree8799de81dc31c28f962b4631618bc2ebf4987c46
parentf7e4b7aea4c76d1ba90b8eb1c443851acfc31125
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>
(cherry picked from commit f9f36917903b57c571b1ddcfc6bc794ca4dd8232)
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