mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 02:17:36 -04:00
ata: ahci: Move EXPORT_SYMBOL_GPL(ahci_do_softreset)
From Documentation/process/coding-style.rst: In source files, separate functions with one blank line. If the function is exported, the **EXPORT** macro for it should follow immediately after the closing function brace line. Hence, move EXPORT_SYMBOL_GPL(ahci_do_softreset) to just below the definition of the ahci_do_softreset() function. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Niklas Cassel <cassel@kernel.org>
This commit is contained in:
committed by
Niklas Cassel
parent
c4086c6e1a
commit
f4034ae06b
@@ -1527,6 +1527,7 @@ int ahci_do_softreset(struct ata_link *link, unsigned int *class,
|
||||
ata_link_err(link, "softreset failed (%s)\n", reason);
|
||||
return rc;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(ahci_do_softreset);
|
||||
|
||||
int ahci_check_ready(struct ata_link *link)
|
||||
{
|
||||
@@ -1544,7 +1545,6 @@ static int ahci_softreset(struct ata_link *link, unsigned int *class,
|
||||
|
||||
return ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(ahci_do_softreset);
|
||||
|
||||
static int ahci_bad_pmp_check_ready(struct ata_link *link)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user