diff options
author | Christoph Hellwig <hch@lst.de> | 2017-01-10 11:41:44 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-01-10 18:55:39 +0300 |
commit | f0a37d12f51a51d61f68dd30123f2b1927b56bb6 (patch) | |
tree | f045ab55e17963a3725b500637ee768a3ec46fd3 /drivers/ata | |
parent | aa18da8b7ec57f6ff255634746aed6266a01b315 (diff) | |
download | linux-f0a37d12f51a51d61f68dd30123f2b1927b56bb6.tar.xz |
libata: move struct ata_scsi_args to libata-scsi.c
It's only used in libata-scsi.c, so move it closer to the users.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/libata-scsi.c | 7 | ||||
-rw-r--r-- | drivers/ata/libata.h | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index 031a77aae19d..43694f5f2c89 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c @@ -2057,6 +2057,13 @@ defer: return SCSI_MLQUEUE_HOST_BUSY; } +struct ata_scsi_args { + struct ata_device *dev; + u16 *id; + struct scsi_cmnd *cmd; + void (*done)(struct scsi_cmnd *); +}; + /** * ata_scsi_rbuf_get - Map response buffer. * @cmd: SCSI command containing buffer to be mapped. diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 1133e9439f9c..bba39a62552b 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h @@ -31,13 +31,6 @@ #define DRV_NAME "libata" #define DRV_VERSION "3.00" /* must be exactly four chars */ -struct ata_scsi_args { - struct ata_device *dev; - u16 *id; - struct scsi_cmnd *cmd; - void (*done)(struct scsi_cmnd *); -}; - /* libata-core.c */ enum { /* flags for ata_dev_read_id() */ |