Commit 013f94fb authored by Andrew Morton's avatar Andrew Morton Committed by james toy

ERROR: "dw_spi_resume_host" [drivers/spi/dw_spi_pci.ko] undefined!

ERROR: "dw_spi_suspend_host" [drivers/spi/dw_spi_pci.ko] undefined!
ERROR: "dw_spi_add_host" [drivers/spi/dw_spi_pci.ko] undefined!

Cc: David Brownell <david-b@pacbell.net>
Cc: Feng Tang <feng.tang@intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent f621fc5e
...@@ -889,6 +889,7 @@ err_free_master: ...@@ -889,6 +889,7 @@ err_free_master:
exit: exit:
return ret; return ret;
} }
EXPORT_SYMBOL(dw_spi_add_host);
void __devexit dw_spi_remove_host(struct dw_spi *dws) void __devexit dw_spi_remove_host(struct dw_spi *dws)
{ {
...@@ -924,6 +925,7 @@ int dw_spi_suspend_host(struct dw_spi *dws) ...@@ -924,6 +925,7 @@ int dw_spi_suspend_host(struct dw_spi *dws)
spi_set_clk(dws, 0); spi_set_clk(dws, 0);
return ret; return ret;
} }
EXPORT_SYMBOL(dw_spi_suspend_host);
int dw_spi_resume_host(struct dw_spi *dws) int dw_spi_resume_host(struct dw_spi *dws)
{ {
...@@ -935,6 +937,7 @@ int dw_spi_resume_host(struct dw_spi *dws) ...@@ -935,6 +937,7 @@ int dw_spi_resume_host(struct dw_spi *dws)
dev_err(&dws->master->dev, "fail to start queue (%d)\n", ret); dev_err(&dws->master->dev, "fail to start queue (%d)\n", ret);
return ret; return ret;
} }
EXPORT_SYMBOL(dw_spi_resume_host);
MODULE_AUTHOR("Feng Tang <feng.tang@intel.com>"); MODULE_AUTHOR("Feng Tang <feng.tang@intel.com>");
MODULE_DESCRIPTION("Driver for DesignWare SPI controller core"); MODULE_DESCRIPTION("Driver for DesignWare SPI controller core");
......
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