aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAndy Yan <ayan@marvell.com>2009-05-11 21:56:31 +0800
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-05-23 15:44:08 -0500
commit77db27cdcbc8ed371fd2f154cbadc7ff32ae8901 (patch)
tree9353f6b1c123d50a71d8be81517cbd5e4a0d5436 /drivers
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')
-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 75b9748ae7c..93735edff50 100644
--- a/drivers/scsi/mvsas/mv_sas.h
+++ b/drivers/scsi/mvsas/mv_sas.h
@@ -313,8 +313,7 @@ struct mvs_info {
const struct mvs_chip_info *chip;
int tags_num;
- u8 tags[MVS_SLOTS >> 3];
-
+ DECLARE_BITMAP(tags, MVS_SLOTS);
/* further per-slot information */
struct mvs_phy phy[MVS_MAX_PHYS];
struct mvs_port port[MVS_MAX_PHYS];