diff options
author | Shashidhar Hiremath <shashidharh@vayavyalabs.com> | 2012-01-13 14:34:57 +0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-03-26 03:33:44 +0400 |
commit | 62ca8034d940439490a450ae7e2b7702591e3192 (patch) | |
tree | aa2bb114f123e0850a5ce6008c0e6188dbd5f2ca /drivers/mmc/host/dw_mmc.h | |
parent | 356ac2cf066174aecc3380f82fabe8a01f046c3f (diff) | |
download | linux-62ca8034d940439490a450ae7e2b7702591e3192.tar.xz |
mmc: Support of PCI mode in the dw_mmc driver
Support of PCI mode for the dw_mmc driver. This Patch adds the
support for the scenario where the Synopsys Designware IP
is present on the PCI bus. The patch adds the minimal modifications
necessary for the driver to work on PCI platform. Also added separate
files for PCI and PLATFORM modes of operation.
Signed-off-by: Shashidhar Hiremath <shashidharh@vayavyalabs.com>
Acked-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/dw_mmc.h')
-rw-r--r-- | drivers/mmc/host/dw_mmc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h index df392a1143f2..15c27e17c23f 100644 --- a/drivers/mmc/host/dw_mmc.h +++ b/drivers/mmc/host/dw_mmc.h @@ -175,4 +175,11 @@ (*(volatile u64 __force *)((dev)->regs + SDMMC_##reg) = (value)) #endif +extern int dw_mci_probe(struct dw_mci *host); +extern void dw_mci_remove(struct dw_mci *host); +#ifdef CONFIG_PM +extern int dw_mci_suspend(struct dw_mci *host); +extern int dw_mci_resume(struct dw_mci *host); +#endif + #endif /* _DW_MMC_H_ */ |