scsi: unexport scsi_bus_type
PATCH 1/1 scsi: unexport scsi_bus_type
scsi_bus_type is not used by any code outside of scsi_mod.ko.
Signed-off-by Christoph Hellwig <[email protected]>
--- drivers/scsi/scsi_sysfs.c | 1 - 1 file changed, 1 deletion(-)
drivers/scsi/scsi_sysfs.c +0 -1
@@ -560,7 +560,6 @@ struct bus_type scsi_bus_type = { .pm = &scsi_bus_pm_ops,#endif }; -EXPORT_SYMBOL_GPL (scsi_bus_type);int scsi_sysfs_register (void ) {
Signature · 1 line
2.30.2
Martin K. Petersen
AppliedChristoph,
Quoted 1 line
scsi_bus_typeis not used by any code outside of scsi_mod.ko.
Applied to 5.19/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering
Martin K. Petersen
AppliedQuoted 3 lines · Christoph Hellwig
scsi_bus_typeis not used by any code outside of scsi_mod.ko.
Applied to 5.19/scsi-queue, thanks!
[1/1] scsi: unexport scsi_bus_type
https://git.kernel.org/mkp/scsi/c/7ad36c8b2b80
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering