aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2010-12-24 00:59:10 -0500
committerGrant Likely <grant.likely@secretlab.ca>2010-12-24 03:09:21 -0500
commit79290a2aa2fd1c179a285218472092475630dc0e (patch)
tree95052fa81eba7fc2e1a9da421ad3400a63374571
parentebf45b7d029eb065819bfede8b30455630d76c68 (diff)
spi/dw_spi: change to EXPORT_SYMBOL_GPL for exported APIs
Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
-rw-r--r--drivers/spi/dw_spi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/spi/dw_spi.c b/drivers/spi/dw_spi.c
index 25238a82e45e..b50bf5ba873f 100644
--- a/drivers/spi/dw_spi.c
+++ b/drivers/spi/dw_spi.c
@@ -941,7 +941,7 @@ err_free_master:
941exit: 941exit:
942 return ret; 942 return ret;
943} 943}
944EXPORT_SYMBOL(dw_spi_add_host); 944EXPORT_SYMBOL_GPL(dw_spi_add_host);
945 945
946void __devexit dw_spi_remove_host(struct dw_spi *dws) 946void __devexit dw_spi_remove_host(struct dw_spi *dws)
947{ 947{
@@ -965,7 +965,7 @@ void __devexit dw_spi_remove_host(struct dw_spi *dws)
965 /* Disconnect from the SPI framework */ 965 /* Disconnect from the SPI framework */
966 spi_unregister_master(dws->master); 966 spi_unregister_master(dws->master);
967} 967}
968EXPORT_SYMBOL(dw_spi_remove_host); 968EXPORT_SYMBOL_GPL(dw_spi_remove_host);
969 969
970int dw_spi_suspend_host(struct dw_spi *dws) 970int dw_spi_suspend_host(struct dw_spi *dws)
971{ 971{
@@ -978,7 +978,7 @@ int dw_spi_suspend_host(struct dw_spi *dws)
978 spi_set_clk(dws, 0); 978 spi_set_clk(dws, 0);
979 return ret; 979 return ret;
980} 980}
981EXPORT_SYMBOL(dw_spi_suspend_host); 981EXPORT_SYMBOL_GPL(dw_spi_suspend_host);
982 982
983int dw_spi_resume_host(struct dw_spi *dws) 983int dw_spi_resume_host(struct dw_spi *dws)
984{ 984{
@@ -990,7 +990,7 @@ int dw_spi_resume_host(struct dw_spi *dws)
990 dev_err(&dws->master->dev, "fail to start queue (%d)\n", ret); 990 dev_err(&dws->master->dev, "fail to start queue (%d)\n", ret);
991 return ret; 991 return ret;
992} 992}
993EXPORT_SYMBOL(dw_spi_resume_host); 993EXPORT_SYMBOL_GPL(dw_spi_resume_host);
994 994
995MODULE_AUTHOR("Feng Tang <feng.tang@intel.com>"); 995MODULE_AUTHOR("Feng Tang <feng.tang@intel.com>");
996MODULE_DESCRIPTION("Driver for DesignWare SPI controller core"); 996MODULE_DESCRIPTION("Driver for DesignWare SPI controller core");