Commit 36aae28e authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Tejun Heo

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
parent 1102407b
...@@ -2389,6 +2389,7 @@ const char *ata_get_cmd_descript(u8 command) ...@@ -2389,6 +2389,7 @@ const char *ata_get_cmd_descript(u8 command)
return NULL; return NULL;
} }
EXPORT_SYMBOL_GPL(ata_get_cmd_descript);
/** /**
* ata_eh_link_report - report error handling to user * ata_eh_link_report - report error handling to user
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment