summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-eh.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2014-12-12 17:16:31 +0200
committerTejun Heo <tj@kernel.org>2015-01-05 11:22:49 -0500
commit36aae28e3df4127e296f2680d65cb6310ce61021 (patch)
treeccd32bc52772f271f693b6c36836a19cc45585f4 /drivers/ata/libata-eh.c
parent1102407bb714dcebb43f385335bcb72f6b8843bc (diff)
downloadop-kernel-dev-36aae28e3df4127e296f2680d65cb6310ce61021.zip
op-kernel-dev-36aae28e3df4127e296f2680d65cb6310ce61021.tar.gz
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/libata-eh.c')
-rw-r--r--drivers/ata/libata-eh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index 3dbec89..8d00c26 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
OpenPOWER on IntegriCloud