]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: libsas: Co-locate exports with symbols
authorJohn Garry <john.garry@huawei.com>
Mon, 13 Sep 2021 10:51:36 +0000 (18:51 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 14 Sep 2021 03:57:39 +0000 (23:57 -0400)
commit0fb3262f66ea45e7359fe9cf5e89c9c25215ea6b
tree1b8fe1d4275beac59960e16e1846d70d98e9751d
parent8373358c8d6027edb9f2e061d10a29b078c0e3b8
scsi: libsas: Co-locate exports with symbols

It is standard practice to co-locate export declarations with the symbol
which is being exported. Or at least in the same file - see
sas_phy_reset().

Modify libsas to follow this practice consistently.

Link: https://lore.kernel.org/r/1631530296-32358-1-git-send-email-john.garry@huawei.com
Reviewed-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libsas/sas_init.c
drivers/scsi/libsas/sas_scsi_host.c