projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f49639e
)
[FUSION]: Fix mptspi.c build with CONFIG_PM not set.
author
Tom "spot" Callaway
<tcallawa@redhat.com>
Sat, 10 Jun 2006 00:01:48 +0000
(17:01 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 10 Jun 2006 00:01:48 +0000
(17:01 -0700)
Signed-off-by: Tom "spot" Callaway <tcallawa@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/message/fusion/mptspi.c
patch
|
blob
|
history
diff --git
a/drivers/message/fusion/mptspi.c
b/drivers/message/fusion/mptspi.c
index f2a4d382ea19e5403b2d2643b5a301476ae3f718..3201de053943c5c278d50e2164419e95b9a02bcf 100644
(file)
--- a/
drivers/message/fusion/mptspi.c
+++ b/
drivers/message/fusion/mptspi.c
@@
-831,6
+831,7
@@
mptspi_ioc_reset(MPT_ADAPTER *ioc, int reset_phase)
return rc;
}
+#ifdef CONFIG_PM
/*
* spi module resume handler
*/
@@
-846,6
+847,7
@@
mptspi_resume(struct pci_dev *pdev)
return rc;
}
+#endif
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/