aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sym53c8xx_2/sym_hipd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/sym53c8xx_2/sym_hipd.c')
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_hipd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.c b/drivers/scsi/sym53c8xx_2/sym_hipd.c
index a671bdc0745..940fa1e6f99 100644
--- a/drivers/scsi/sym53c8xx_2/sym_hipd.c
+++ b/drivers/scsi/sym53c8xx_2/sym_hipd.c
@@ -1276,8 +1276,7 @@ static struct sym_chip sym_dev_table[] = {
1276 FE_RAM|FE_IO256|FE_LEDC} 1276 FE_RAM|FE_IO256|FE_LEDC}
1277}; 1277};
1278 1278
1279#define sym_num_devs \ 1279#define sym_num_devs (ARRAY_SIZE(sym_dev_table))
1280 (sizeof(sym_dev_table) / sizeof(sym_dev_table[0]))
1281 1280
1282/* 1281/*
1283 * Look up the chip table. 1282 * Look up the chip table.