diff options
author | Feng Tang <feng.tang@intel.com> | 2010-12-24 13:59:10 +0800 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-12-24 01:09:21 -0700 |
commit | 79290a2aa2fd1c179a285218472092475630dc0e (patch) | |
tree | 95052fa81eba7fc2e1a9da421ad3400a63374571 /drivers/spi | |
parent | ebf45b7d029eb065819bfede8b30455630d76c68 (diff) | |
download | linux-3.10-79290a2aa2fd1c179a285218472092475630dc0e.tar.gz linux-3.10-79290a2aa2fd1c179a285218472092475630dc0e.tar.bz2 linux-3.10-79290a2aa2fd1c179a285218472092475630dc0e.zip |
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/dw_spi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/spi/dw_spi.c b/drivers/spi/dw_spi.c index 25238a82e45..b50bf5ba873 100644 --- a/drivers/spi/dw_spi.c +++ b/drivers/spi/dw_spi.c @@ -941,7 +941,7 @@ err_free_master: exit: 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) { @@ -965,7 +965,7 @@ void __devexit dw_spi_remove_host(struct dw_spi *dws) /* Disconnect from the SPI framework */ 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) { @@ -978,7 +978,7 @@ int dw_spi_suspend_host(struct dw_spi *dws) spi_set_clk(dws, 0); return ret; } -EXPORT_SYMBOL(dw_spi_suspend_host); +EXPORT_SYMBOL_GPL(dw_spi_suspend_host); 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); return ret; } -EXPORT_SYMBOL(dw_spi_resume_host); +EXPORT_SYMBOL_GPL(dw_spi_resume_host); MODULE_AUTHOR("Feng Tang <feng.tang@intel.com>"); MODULE_DESCRIPTION("Driver for DesignWare SPI controller core"); |