]> git.baikalelectronics.ru Git - kernel.git/commit
ata: libahci_platform: move port_map parameters into the AHCI structure
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Wed, 30 Jul 2014 18:13:56 +0000 (20:13 +0200)
committerTejun Heo <tj@kernel.org>
Wed, 30 Jul 2014 19:39:46 +0000 (15:39 -0400)
commit072b7d567c3c5a67e9b0bd2283e22ca76685a2a3
treeef05a418f09a519190a584581ca85c7ee049cec5
parentf3d4404b7dac14bf836e6afa907497d77161a923
ata: libahci_platform: move port_map parameters into the AHCI structure

This patch moves force_port_map and mask_port_map into the
ahci_host_priv structure. This allows to modify them into the AHCI
framework. This is needed by the new dt bindings representing ports as
the port_map mask is computed automatically.

Parameters modifying force_port_map, mask_port_map and flags have been
removed from the ahci_platform_init_host() function, and inputs in the
ahci_host_priv structure are now directly filed.

Signed-off-by: Antoine Ténart <antoine.tenart@free-electrons.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
15 files changed:
drivers/ata/acard-ahci.c
drivers/ata/ahci.c
drivers/ata/ahci.h
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_tegra.c
drivers/ata/ahci_xgene.c
drivers/ata/libahci.c
drivers/ata/libahci_platform.c
drivers/ata/sata_highbank.c
include/linux/ahci_platform.h