Skip to content

Commit

Permalink
[FUSION]: Fix mptspi.c build with CONFIG_PM not set.
Browse files Browse the repository at this point in the history
Signed-off-by: Tom "spot" Callaway <tcallawa@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Tom "spot" Callaway authored and David S. Miller committed Jun 10, 2006
1 parent f49639e commit c29ca9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/message/fusion/mptspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,7 @@ mptspi_ioc_reset(MPT_ADAPTER *ioc, int reset_phase)
return rc;
}

#ifdef CONFIG_PM
/*
* spi module resume handler
*/
Expand All @@ -846,6 +847,7 @@ mptspi_resume(struct pci_dev *pdev)

return rc;
}
#endif

/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
Expand Down

0 comments on commit c29ca9d

Please sign in to comment.