Skip to content

Commit

Permalink
libata: export ata_get_cmd_descript()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Shevchenko authored and Tejun Heo committed Jan 5, 2015
1 parent 1102407 commit 36aae28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/ata/libata-eh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36aae28

Please sign in to comment.