diff options
author | Feng Tang <feng.tang@intel.com> | 2010-12-24 00:59:10 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-12-24 03:09:21 -0500 |
commit | 79290a2aa2fd1c179a285218472092475630dc0e (patch) | |
tree | 95052fa81eba7fc2e1a9da421ad3400a63374571 /drivers/spi/dw_spi.c | |
parent | ebf45b7d029eb065819bfede8b30455630d76c68 (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>
Diffstat (limited to 'drivers/spi/dw_spi.c')
-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 25238a82e45e..b50bf5ba873f 100644 --- a/drivers/spi/dw_spi.c +++ b/drivers/spi/dw_spi.c | |||
@@ -941,7 +941,7 @@ err_free_master: | |||
941 | exit: | 941 | exit: |
942 | return ret; | 942 | return ret; |
943 | } | 943 | } |
944 | EXPORT_SYMBOL(dw_spi_add_host); | 944 | EXPORT_SYMBOL_GPL(dw_spi_add_host); |
945 | 945 | ||
946 | void __devexit dw_spi_remove_host(struct dw_spi *dws) | 946 | void __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 | } |
968 | EXPORT_SYMBOL(dw_spi_remove_host); | 968 | EXPORT_SYMBOL_GPL(dw_spi_remove_host); |
969 | 969 | ||
970 | int dw_spi_suspend_host(struct dw_spi *dws) | 970 | int 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 | } |
981 | EXPORT_SYMBOL(dw_spi_suspend_host); | 981 | EXPORT_SYMBOL_GPL(dw_spi_suspend_host); |
982 | 982 | ||
983 | int dw_spi_resume_host(struct dw_spi *dws) | 983 | int 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 | } |
993 | EXPORT_SYMBOL(dw_spi_resume_host); | 993 | EXPORT_SYMBOL_GPL(dw_spi_resume_host); |
994 | 994 | ||
995 | MODULE_AUTHOR("Feng Tang <feng.tang@intel.com>"); | 995 | MODULE_AUTHOR("Feng Tang <feng.tang@intel.com>"); |
996 | MODULE_DESCRIPTION("Driver for DesignWare SPI controller core"); | 996 | MODULE_DESCRIPTION("Driver for DesignWare SPI controller core"); |