diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2014-12-12 18:16:31 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-01-05 19:22:49 +0300 |
commit | 36aae28e3df4127e296f2680d65cb6310ce61021 (patch) | |
tree | ccd32bc52772f271f693b6c36836a19cc45585f4 /drivers/ata | |
parent | 1102407bb714dcebb43f385335bcb72f6b8843bc (diff) | |
download | linux-36aae28e3df4127e296f2680d65cb6310ce61021.tar.xz |
libata: export ata_get_cmd_descript()
The driver sata_dwc_460ex is using this symbol. To build it as a
module we have to have the symbol exported. This patch adds
EXPORT_SYMBOL_GPL() macro for that.
tj: Updated to use EXPORT_SYMBOL_GPL() instead of EXPORT_SYMBOL() as
the only known user is an in-tree driver. Suggested by Sergei.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/libata-eh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 3dbec8954c86..8d00c2638bed 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c @@ -2389,6 +2389,7 @@ const char *ata_get_cmd_descript(u8 command) return NULL; } +EXPORT_SYMBOL_GPL(ata_get_cmd_descript); /** * ata_eh_link_report - report error handling to user |