summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_priv.h
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2011-01-06 15:31:29 -0500
committerJames Bottomley <James.Bottomley@suse.de>2011-01-24 12:01:07 -0600
commit38a039be2e7bda32517642ecfce54c9317292a9c (patch)
tree2eb828510c3ee4a40295d73f4414fd8f9625128c /drivers/scsi/scsi_priv.h
parent716163ff908be72f6b74752ad0796cc7c00b047a (diff)
downloadlinux-38a039be2e7bda32517642ecfce54c9317292a9c.tar.gz
linux-38a039be2e7bda32517642ecfce54c9317292a9c.tar.bz2
linux-38a039be2e7bda32517642ecfce54c9317292a9c.zip
[SCSI] Add scsi_dev_info_list_del_keyed()
For scsi_dh.c to use devinfo lists, we have to be able to remove entries before rmmod. Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r--drivers/scsi/scsi_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h
index b4056d14f812..ce9e0adc8df8 100644
--- a/drivers/scsi/scsi_priv.h
+++ b/drivers/scsi/scsi_priv.h
@@ -56,6 +56,7 @@ extern int scsi_get_device_flags_keyed(struct scsi_device *sdev,
extern int scsi_dev_info_list_add_keyed(int compatible, char *vendor,
char *model, char *strflags,
int flags, int key);
+extern int scsi_dev_info_list_del_keyed(char *vendor, char *model, int key);
extern int scsi_dev_info_add_list(int key, const char *name);
extern int scsi_dev_info_remove_list(int key);