Skip to contentSkip to conversation

ata: ahci_sunxi: make ahci_sunxi_resume() static

PATCH Applied Bartlomiej Zolnierkiewicz 3 participants 3 messages Mar 17, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ata: ahci_sunxi: make ahci_sunxi_resume() static

---
 drivers/ata/ahci_sunxi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/ahci_sunxi.c +1 -1
Index: b/drivers/ata/ahci_sunxi.c
===================================================================
@@ -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;
Acked-by on v1 1/1
#1 lore raw

Hi,

Quoted 1 line · Bartlomiej Zolnierkiewicz

Thanks for doing these clean-ups.

Regards,

Hans

Quoted 18 lines
---
 drivers/ata/ahci_sunxi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/drivers/ata/ahci_sunxi.c
===================================================================

drivers/ata/ahci_sunxi.c +1 -1
@@ -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;