kernel/sysctl.c: remove duplicate UINT_MAX check on do_proc_douintvec_conv()
[linux-2.6-microblaze.git] / include / scsi / scsi_transport_sas.h
index 73d8709..a23304b 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/types.h>
 #include <linux/mutex.h>
 #include <scsi/sas.h>
+#include <linux/bsg-lib.h>
 
 struct scsi_transport_template;
 struct sas_rphy;
@@ -176,7 +177,8 @@ struct sas_function_template {
        int (*phy_setup)(struct sas_phy *);
        void (*phy_release)(struct sas_phy *);
        int (*set_phy_speed)(struct sas_phy *, struct sas_phy_linkrates *);
-       int (*smp_handler)(struct Scsi_Host *, struct sas_rphy *, struct request *);
+       void (*smp_handler)(struct bsg_job *, struct Scsi_Host *,
+                       struct sas_rphy *);
 };