scsi: bsg: Move bsg_scsi_ops to drivers/scsi/

Move the SCSI-specific bsg code in the SCSI midlayer instead of in the
common bsg code.  This just keeps the common bsg code block/ and also
allows building it as a module.

Link: https://lore.kernel.org/r/20210724072033.1284840-15-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Christoph Hellwig 2021-07-24 09:20:23 +02:00 committed by Martin K. Petersen
parent d52fe8f436
commit 7801104268
10 changed files with 129 additions and 125 deletions

View file

@ -537,7 +537,7 @@ struct request_queue {
int mq_freeze_depth;
#if defined(CONFIG_BLK_DEV_BSG)
#if IS_ENABLED(CONFIG_BLK_DEV_BSG_COMMON)
struct bsg_class_device bsg_dev;
#endif