Commit 79290a2a authored by Feng Tang's avatar Feng Tang Committed by Grant Likely

spi/dw_spi: change to EXPORT_SYMBOL_GPL for exported APIs

Signed-off-by: default avatarFeng Tang <feng.tang@intel.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent ebf45b7d
...@@ -941,7 +941,7 @@ int __devinit dw_spi_add_host(struct dw_spi *dws) ...@@ -941,7 +941,7 @@ int __devinit dw_spi_add_host(struct dw_spi *dws)
exit: exit:
return ret; return ret;
} }
EXPORT_SYMBOL(dw_spi_add_host); EXPORT_SYMBOL_GPL(dw_spi_add_host);
void __devexit dw_spi_remove_host(struct dw_spi *dws) void __devexit dw_spi_remove_host(struct dw_spi *dws)
{ {
...@@ -965,7 +965,7 @@ void __devexit dw_spi_remove_host(struct dw_spi *dws) ...@@ -965,7 +965,7 @@ void __devexit dw_spi_remove_host(struct dw_spi *dws)
/* Disconnect from the SPI framework */ /* Disconnect from the SPI framework */
spi_unregister_master(dws->master); spi_unregister_master(dws->master);
} }
EXPORT_SYMBOL(dw_spi_remove_host); EXPORT_SYMBOL_GPL(dw_spi_remove_host);
int dw_spi_suspend_host(struct dw_spi *dws) int dw_spi_suspend_host(struct dw_spi *dws)
{ {
...@@ -978,7 +978,7 @@ int dw_spi_suspend_host(struct dw_spi *dws) ...@@ -978,7 +978,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); EXPORT_SYMBOL_GPL(dw_spi_suspend_host);
int dw_spi_resume_host(struct dw_spi *dws) int dw_spi_resume_host(struct dw_spi *dws)
{ {
...@@ -990,7 +990,7 @@ int dw_spi_resume_host(struct dw_spi *dws) ...@@ -990,7 +990,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); EXPORT_SYMBOL_GPL(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