diff mbox

ata: ahci_sunxi: make ahci_sunxi_resume() static

Message ID 1725454.bVvdm9zQru@amdc1032 (mailing list archive)
State New, archived
Headers show

Commit Message

Bartlomiej Zolnierkiewicz March 17, 2014, 1:06 p.m. UTC
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
 drivers/ata/ahci_sunxi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Hans de Goede March 17, 2014, 1:23 p.m. UTC | #1
Hi,

On 03/17/2014 02:06 PM, Bartlomiej Zolnierkiewicz wrote:
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>

Thanks for doing these clean-ups.

Acked-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans


> ---
>  drivers/ata/ahci_sunxi.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: b/drivers/ata/ahci_sunxi.c
> ===================================================================
> --- a/drivers/ata/ahci_sunxi.c	2014-03-17 13:59:05.556474489 +0100
> +++ b/drivers/ata/ahci_sunxi.c	2014-03-17 13:59:06.220474478 +0100
> @@ -209,7 +209,7 @@ disable_resources:
>  }
>  
>  #ifdef CONFIG_PM_SLEEP
> -int ahci_sunxi_resume(struct device *dev)
> +static int ahci_sunxi_resume(struct device *dev)
>  {
>  	struct ata_host *host = dev_get_drvdata(dev);
>  	struct ahci_host_priv *hpriv = host->private_data;
>
Tejun Heo March 17, 2014, 2:48 p.m. UTC | #2
On Mon, Mar 17, 2014 at 02:06:57PM +0100, Bartlomiej Zolnierkiewicz wrote:
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>

Applied to libata/for-3.15.

Thanks.
diff mbox

Patch

Index: b/drivers/ata/ahci_sunxi.c
===================================================================
--- a/drivers/ata/ahci_sunxi.c	2014-03-17 13:59:05.556474489 +0100
+++ b/drivers/ata/ahci_sunxi.c	2014-03-17 13:59:06.220474478 +0100
@@ -209,7 +209,7 @@  disable_resources:
 }
 
 #ifdef CONFIG_PM_SLEEP
-int ahci_sunxi_resume(struct device *dev)
+static int ahci_sunxi_resume(struct device *dev)
 {
 	struct ata_host *host = dev_get_drvdata(dev);
 	struct ahci_host_priv *hpriv = host->private_data;