Merge tag 'xfs-for-linus-v3.12-rc1-2' of git://oss.sgi.com/xfs/xfs
[firefly-linux-kernel-4.4.55.git] / include / scsi / scsi_host.h
index 2b6956e9853dd576d47af629e4635c24c92c9c97..755243572219da23383d1bab92ff42584766ba8c 100644 (file)
@@ -6,6 +6,7 @@
 #include <linux/types.h>
 #include <linux/workqueue.h>
 #include <linux/mutex.h>
+#include <linux/seq_file.h>
 #include <scsi/scsi.h>
 
 struct request_queue;
@@ -340,7 +341,8 @@ struct scsi_host_template {
         *
         * Status: OBSOLETE
         */
-       int (*proc_info)(struct Scsi_Host *, char *, char **, off_t, int, int);
+       int (*show_info)(struct seq_file *, struct Scsi_Host *);
+       int (*write_info)(struct Scsi_Host *, char *, int);
 
        /*
         * This is an optional routine that allows the transport to become
@@ -375,7 +377,7 @@ struct scsi_host_template {
 
        /*
         * Used to store the procfs directory if a driver implements the
-        * proc_info method.
+        * show_info method.
         */
        struct proc_dir_entry *proc_dir;