mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			27 lines
		
	
	
		
			776 B
		
	
	
	
		
			Diff
		
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			776 B
		
	
	
	
		
			Diff
		
	
	
| --- linux-4.9.37/drivers/mmc/host/sdhci-pltfm.c	2017-07-12 16:42:41.000000000 +0300
 | |
| +++ linux-4.9.y/drivers/mmc/host/sdhci-pltfm.c	2021-06-07 13:01:33.000000000 +0300
 | |
| @@ -209,19 +209,21 @@
 | |
|  EXPORT_SYMBOL_GPL(sdhci_pltfm_unregister);
 | |
|  
 | |
|  #ifdef CONFIG_PM_SLEEP
 | |
| -static int sdhci_pltfm_suspend(struct device *dev)
 | |
| +int sdhci_pltfm_suspend(struct device *dev)
 | |
|  {
 | |
|  	struct sdhci_host *host = dev_get_drvdata(dev);
 | |
|  
 | |
|  	return sdhci_suspend_host(host);
 | |
|  }
 | |
| +EXPORT_SYMBOL_GPL(sdhci_pltfm_suspend);
 | |
|  
 | |
| -static int sdhci_pltfm_resume(struct device *dev)
 | |
| +int sdhci_pltfm_resume(struct device *dev)
 | |
|  {
 | |
|  	struct sdhci_host *host = dev_get_drvdata(dev);
 | |
|  
 | |
|  	return sdhci_resume_host(host);
 | |
|  }
 | |
| +EXPORT_SYMBOL_GPL(sdhci_pltfm_resume);
 | |
|  #endif
 | |
|  
 | |
|  const struct dev_pm_ops sdhci_pltfm_pmops = {
 |