aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/osd_initiator.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/osd_initiator.h')
-rw-r--r--include/scsi/osd_initiator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/scsi/osd_initiator.h b/include/scsi/osd_initiator.h
index a5dbbddcf73b..e84dc7aa5e34 100644
--- a/include/scsi/osd_initiator.h
+++ b/include/scsi/osd_initiator.h
@@ -33,6 +33,10 @@ struct osd_dev {
33 unsigned def_timeout; 33 unsigned def_timeout;
34}; 34};
35 35
36/* Retrieve/return osd_dev(s) for use by Kernel clients */
37struct osd_dev *osduld_path_lookup(const char *dev_name); /*Use IS_ERR/ERR_PTR*/
38void osduld_put_device(struct osd_dev *od);
39
36/* Add/remove test ioctls from external modules */ 40/* Add/remove test ioctls from external modules */
37typedef int (do_test_fn)(struct osd_dev *od, unsigned cmd, unsigned long arg); 41typedef int (do_test_fn)(struct osd_dev *od, unsigned cmd, unsigned long arg);
38int osduld_register_test(unsigned ioctl, do_test_fn *do_test); 42int osduld_register_test(unsigned ioctl, do_test_fn *do_test);