aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mvsas
diff options
context:
space:
mode:
authorAndy Yan <ayan@marvell.com>2009-05-11 09:56:31 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-05-23 16:44:08 -0400
commit77db27cdcbc8ed371fd2f154cbadc7ff32ae8901 (patch)
tree9353f6b1c123d50a71d8be81517cbd5e4a0d5436 /drivers/scsi/mvsas
parent0f980a871678b7ec143fcb45b31bf9234e4585c8 (diff)
[SCSI] mvsas: correct bit map usage
Utilize DECLARE_BITMAP to define the tags array. Signed-off-by: Ying Chu <jasonchu@marvell.com> Signed-off-by: Andy Yan <ayan@marvell.com> Signed-off-by: Ke Wei <kewei@marvell.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/mvsas')
-rw-r--r--drivers/scsi/mvsas/mv_sas.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/mvsas/mv_sas.h b/drivers/scsi/mvsas/mv_sas.h
index 75b9748ae7cc..93735edff507 100644
--- a/drivers/scsi/mvsas/mv_sas.h
+++ b/drivers/scsi/mvsas/mv_sas.h
@@ -313,8 +313,7 @@ struct mvs_info {
313 const struct mvs_chip_info *chip; 313 const struct mvs_chip_info *chip;
314 314
315 int tags_num; 315 int tags_num;
316 u8 tags[MVS_SLOTS >> 3]; 316 DECLARE_BITMAP(tags, MVS_SLOTS);
317
318 /* further per-slot information */ 317 /* further per-slot information */
319 struct mvs_phy phy[MVS_MAX_PHYS]; 318 struct mvs_phy phy[MVS_MAX_PHYS];
320 struct mvs_port port[MVS_MAX_PHYS]; 319 struct mvs_port port[MVS_MAX_PHYS];