All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fusion - doesn't compile when CONFIG_PM disabled
@ 2006-05-16 23:32 Eric Moore
  0 siblings, 0 replies; only message in thread
From: Eric Moore @ 2006-05-16 23:32 UTC (permalink / raw)
  To: linux-scsi; +Cc: James.Bottomley

The fusion driver fail to compile when CONFIG_PM is disabled.
This is due to a recent patch I posted to handle dv after resume.

Signed-off-by: Eric Moore <Eric.Moore@lsil.com>

diff -uarN b/drivers/message/fusion/mptspi.c a/drivers/message/fusion/mptspi.c
--- b/drivers/message/fusion/mptspi.c	2006-05-16 15:45:41.000000000 -0600
+++ a/drivers/message/fusion/mptspi.c	2006-05-16 15:46:37.000000000 -0600
@@ -834,6 +834,7 @@
 /*
  * spi module resume handler
  */
+#ifdef CONFIG_PM
 static int
 mptspi_resume(struct pci_dev *pdev)
 {
@@ -846,6 +847,7 @@
 
 	return rc;
 }
+#endif
 
 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-16 23:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-16 23:32 [PATCH] fusion - doesn't compile when CONFIG_PM disabled Eric Moore

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.