diff options
Diffstat (limited to 'sys/dev/aic/aic_isa.c')
| -rw-r--r-- | sys/dev/aic/aic_isa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/aic/aic_isa.c b/sys/dev/aic/aic_isa.c index 7e8c23954c35..a1343120f72e 100644 --- a/sys/dev/aic/aic_isa.c +++ b/sys/dev/aic/aic_isa.c @@ -57,7 +57,7 @@ static int aic_isa_probe(device_t); static int aic_isa_attach(device_t); static u_int aic_isa_ports[] = { 0x340, 0x140 }; -#define AIC_ISA_NUMPORTS (sizeof(aic_isa_ports) / sizeof(aic_isa_ports[0])) +#define AIC_ISA_NUMPORTS (nitems(aic_isa_ports)) #define AIC_ISA_PORTSIZE 0x20 static struct isa_pnp_id aic_ids[] = { |
