diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2014-12-12 16:16:31 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-01-05 17:22:49 +0100 |
commit | 36aae28e3df4127e296f2680d65cb6310ce61021 (patch) | |
tree | ccd32bc52772f271f693b6c36836a19cc45585f4 /drivers | |
parent | ahci_xgene: Fix the DMA state machine lockup for the ATA_CMD_PACKET PIO mode ... (diff) | |
download | linux-36aae28e3df4127e296f2680d65cb6310ce61021.tar.xz linux-36aae28e3df4127e296f2680d65cb6310ce61021.zip |
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')
-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 |