diff options
author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | 2018-08-22 21:13:01 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-08-22 08:08:27 -0700 |
commit | 16af2d65842d343c2f95733c3993a0b5baab08f9 (patch) | |
tree | 09a11625e52789d5a5424c7b63e5a55a7df9033e /include | |
parent | a69508c2847d26869e85daadc9f74abaf1253a52 (diff) | |
download | linux-stable-16af2d65842d343c2f95733c3993a0b5baab08f9.tar.gz linux-stable-16af2d65842d343c2f95733c3993a0b5baab08f9.tar.bz2 linux-stable-16af2d65842d343c2f95733c3993a0b5baab08f9.zip |
ata: add an extra argument to ahci_platform_get_resources()
Add an extra argument to ahci_platform_get_resources(), that is
for the bitmap representing the resource to get in this function.
Currently there is no resources to be defined, so all the callers set
'0' to the argument.
Suggested-by: Hans de Goede <hdegoede@redhat.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ahci_platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ahci_platform.h b/include/linux/ahci_platform.h index 1b0a17b22cd3..6490be1f8a16 100644 --- a/include/linux/ahci_platform.h +++ b/include/linux/ahci_platform.h @@ -30,7 +30,7 @@ void ahci_platform_disable_regulators(struct ahci_host_priv *hpriv); int ahci_platform_enable_resources(struct ahci_host_priv *hpriv); void ahci_platform_disable_resources(struct ahci_host_priv *hpriv); struct ahci_host_priv *ahci_platform_get_resources( - struct platform_device *pdev); + struct platform_device *pdev, unsigned int flags); int ahci_platform_init_host(struct platform_device *pdev, struct ahci_host_priv *hpriv, const struct ata_port_info *pi_template, |