sdhci-pltfm.h (d4bbf7e7759afc172e2bfbc5c416324590049cdd) | sdhci-pltfm.h (29495aa04a30c21565243c5b9c028510446d242c) |
---|---|
1/* 2 * Copyright 2010 MontaVista Software, LLC. 3 * 4 * Author: Anton Vorontsov <avorontsov@ru.mvista.com> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 85 unchanged lines hidden (view full) --- 94 struct sdhci_pltfm_data *pdata); 95extern void sdhci_pltfm_free(struct platform_device *pdev); 96 97extern int sdhci_pltfm_register(struct platform_device *pdev, 98 struct sdhci_pltfm_data *pdata); 99extern int sdhci_pltfm_unregister(struct platform_device *pdev); 100 101#ifdef CONFIG_PM | 1/* 2 * Copyright 2010 MontaVista Software, LLC. 3 * 4 * Author: Anton Vorontsov <avorontsov@ru.mvista.com> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 85 unchanged lines hidden (view full) --- 94 struct sdhci_pltfm_data *pdata); 95extern void sdhci_pltfm_free(struct platform_device *pdev); 96 97extern int sdhci_pltfm_register(struct platform_device *pdev, 98 struct sdhci_pltfm_data *pdata); 99extern int sdhci_pltfm_unregister(struct platform_device *pdev); 100 101#ifdef CONFIG_PM |
102extern int sdhci_pltfm_suspend(struct platform_device *dev, pm_message_t state); 103extern int sdhci_pltfm_resume(struct platform_device *dev); | 102extern const struct dev_pm_ops sdhci_pltfm_pmops; 103#define SDHCI_PLTFM_PMOPS (&sdhci_pltfm_pmops) 104#else 105#define SDHCI_PLTFM_PMOPS NULL |
104#endif 105 106#endif /* _DRIVERS_MMC_SDHCI_PLTFM_H */ | 106#endif 107 108#endif /* _DRIVERS_MMC_SDHCI_PLTFM_H */ |