Commit f621fc5e authored by Randy Dunlap's avatar Randy Dunlap Committed by james toy

Fix names of the suspend and resume macros so that build succeeds

when CONFIG_PM=n:

drivers/spi/dw_spi_pci.c:150: error: 'spi_suspend' undeclared here (not in a function)
drivers/spi/dw_spi_pci.c:151: error: 'spi_resume' undeclared here (not in a function)
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Acked-by: default avatarFeng Tang <feng.tang@intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent a1206ac3
...@@ -132,8 +132,8 @@ static int spi_resume(struct pci_dev *pdev) ...@@ -132,8 +132,8 @@ static int spi_resume(struct pci_dev *pdev)
return dw_spi_resume_host(&dwpci->dws); return dw_spi_resume_host(&dwpci->dws);
} }
#else #else
#define mrst_spi_suspend NULL #define spi_suspend NULL
#define mrst_spi_resume NULL #define spi_resume NULL
#endif #endif
static const struct pci_device_id pci_ids[] __devinitdata = { static const struct pci_device_id pci_ids[] __devinitdata = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment