[SCSI] bfa: replace endian swap macros with the ones provided by linux
[pandora-kernel.git] / drivers / scsi / bfa / bfa_cb_ioim.h
index a989a94..78c5ba2 100644 (file)
@@ -37,7 +37,7 @@ bfad_int_to_lun(u32 luno)
        } lun;
 
        lun.bfa_lun     = 0;
-       lun.scsi_lun[0] = bfa_os_htons(luno);
+       lun.scsi_lun[0] = cpu_to_be16(luno);
 
        return lun.bfa_lun;
 }