git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] drivers/scsi: Use ARRAY_SIZE macro
[safe/jmp/linux-2.6]
/
drivers
/
scsi
/
aic7xxx
/
aic7770.c
diff --git
a/drivers/scsi/aic7xxx/aic7770.c
b/drivers/scsi/aic7xxx/aic7770.c
index
527efd3
..
c4d1723
100644
(file)
--- a/
drivers/scsi/aic7xxx/aic7770.c
+++ b/
drivers/scsi/aic7xxx/aic7770.c
@@
-107,7
+107,7
@@
struct aic7770_identity aic7770_ident_table[] =
ahc_aic7770_EISA_setup
}
};
-const int ahc_num_aic7770_devs =
NUM_ELEMENTS
(aic7770_ident_table);
+const int ahc_num_aic7770_devs =
ARRAY_SIZE
(aic7770_ident_table);
struct aic7770_identity *
aic7770_find_device(uint32_t id)