summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-05-23 10:38:38 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2022-05-24 05:24:10 +0200
commit7ad36c8b2b80c8d296478f9854135d379cc63551 (patch)
tree037a55aa73df02bbf5ccea7b439d6eb9aff2b2c2
parentscsi: sd: Don't call blk_cleanup_disk() in sd_probe() (diff)
downloadlinux-7ad36c8b2b80c8d296478f9854135d379cc63551.tar.xz
linux-7ad36c8b2b80c8d296478f9854135d379cc63551.zip
scsi: core: Unexport scsi_bus_type
scsi_bus_type is not used by any code outside of scsi_mod.ko. Link: https://lore.kernel.org/r/20220523083838.227987-1-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/scsi_sysfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c
index 546a9e3cfbec..43949798a2e4 100644
--- a/drivers/scsi/scsi_sysfs.c
+++ b/drivers/scsi/scsi_sysfs.c
@@ -573,7 +573,6 @@ struct bus_type scsi_bus_type = {
.pm = &scsi_bus_pm_ops,
#endif
};
-EXPORT_SYMBOL_GPL(scsi_bus_type);
int scsi_sysfs_register(void)
{