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)
commitce4fc333e599c19973455c9d8f6fbb1e7c140dc8
tree1b8fe1d4275beac59960e16e1846d70d98e9751d
parent9aec5ffa6e39926cff1a6b576c815a9cee90e259
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