diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-12-09 22:16:07 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-13 15:33:30 -0500 |
commit | 775ab52142b02237a54184238e922251c59a2b5c (patch) | |
tree | 0bc161bb6b0c15c095c96f0b46a99d7231a414b3 /drivers/bcma/bcma_private.h | |
parent | bbea3bc432dc5c08d09ca5c80afdd82515470688 (diff) | |
download | linux-775ab52142b02237a54184238e922251c59a2b5c.tar.gz linux-775ab52142b02237a54184238e922251c59a2b5c.tar.bz2 linux-775ab52142b02237a54184238e922251c59a2b5c.zip |
bcma: support for suspend and resume
bcma used to lock up machine without enabling PCI or initializing CC.
Cc: stable@vger.kernel.org
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma/bcma_private.h')
-rw-r--r-- | drivers/bcma/bcma_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/bcma/bcma_private.h b/drivers/bcma/bcma_private.h index 30a3085d3354..fda56bde36b8 100644 --- a/drivers/bcma/bcma_private.h +++ b/drivers/bcma/bcma_private.h @@ -18,6 +18,9 @@ void bcma_bus_unregister(struct bcma_bus *bus); int __init bcma_bus_early_register(struct bcma_bus *bus, struct bcma_device *core_cc, struct bcma_device *core_mips); +#ifdef CONFIG_PM +int bcma_bus_resume(struct bcma_bus *bus); +#endif /* scan.c */ int bcma_bus_scan(struct bcma_bus *bus); |