Bug 6537
Summary: | #ifdef CONFIG_PM causes MPT to not compile | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Bill Crowell (bill) |
Component: | Other | Assignee: | Alexey Dobriyan (adobriyan) |
Status: | CLOSED CODE_FIX | ||
Severity: | blocking | ||
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.17-rc4 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Bill Crowell
2006-05-12 07:49:08 UTC
This patch fixes your anonymous compilation problems? [PATCH] mptspi: fix compilation with CONFIG_PM=n Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> --- a/drivers/message/fusion/mptspi.c +++ b/drivers/message/fusion/mptspi.c @@ -831,6 +831,7 @@ mptspi_ioc_reset(MPT_ADAPTER *ioc, int r return rc; } +#ifdef CONFIG_PM /* * spi module resume handler */ @@ -846,6 +847,7 @@ mptspi_resume(struct pci_dev *pdev) return rc; } +#endif /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ Fixed in mainline. |