Skip to contentSkip to conversation

fusion - doesn't compile when CONFIG_PM disabled

PATCH New Eric Moore 1 participant 1 message May 16, 2006

Subsystems (2)
lore
Share & tools
lore

Eric Moore

author
#0 lore raw

PATCH 1/1 fusion - doesn't compile when CONFIG_PM disabled

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.

drivers/message/fusion/mptspi.c +2 -0
diff -uarN b/drivers/message/fusion/mptspi.c a/drivers/message/fusion/mptspi.c
@@ -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
 
 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/