Input: synaptics - handle spurious release of trackstick buttons, again
[pandora-kernel.git] / drivers / scsi / device_handler / scsi_dh_alua.c
index fe4df2d..e5a4423 100644 (file)
@@ -21,6 +21,7 @@
  */
 #include <linux/slab.h>
 #include <linux/delay.h>
+#include <linux/module.h>
 #include <scsi/scsi.h>
 #include <scsi/scsi_eh.h>
 #include <scsi/scsi_dh.h>
@@ -577,8 +578,7 @@ static int alua_rtpg(struct scsi_device *sdev, struct alua_dh_data *h)
                h->state = TPGS_STATE_STANDBY;
                break;
        case TPGS_STATE_OFFLINE:
-       case TPGS_STATE_UNAVAILABLE:
-               /* Path unusable for unavailable/offline */
+               /* Path unusable */
                err = SCSI_DH_DEV_OFFLINED;
                break;
        default: