diff options
author | Jeff Mahoney <jeffm@suse.de> | 2012-08-18 15:20:40 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-14 17:59:29 +0100 |
commit | 26898afd67dfd707aa291648ca731063c8333c7f (patch) | |
tree | e4cc7b2d58df67319c90995e9deeb847669ca046 /drivers/scsi/st.h | |
parent | 6c648d95a6af4a79241a916871df17c84c68ea20 (diff) | |
download | lwn-26898afd67dfd707aa291648ca731063c8333c7f.tar.gz lwn-26898afd67dfd707aa291648ca731063c8333c7f.zip |
[SCSI] st: clean up device file creation and removal
This patch cleans up the st device file creation and removal.
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Acked-by: Kai Mäkisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/st.h')
-rw-r--r-- | drivers/scsi/st.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/st.h b/drivers/scsi/st.h index 8a23640981c8..b7a07c7bf4f8 100644 --- a/drivers/scsi/st.h +++ b/drivers/scsi/st.h @@ -67,6 +67,7 @@ struct st_modedef { short default_density; /* Forced density, -1 = no value */ int default_blksize; /* Forced blocksize, -1 = no value */ struct scsi_tape *tape; + struct device *devs[2]; /* Auto-rewind and non-rewind devices */ struct cdev *cdevs[2]; /* Auto-rewind and non-rewind devices */ }; |