pcmcia: replace open-coded ARRAY_SIZE with macro
Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
parent
aaa20fc233
commit
e632cd9472
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ static pcic_t pcic[] = {
|
|||
{ "VIA VT83C469", IS_CIRRUS|IS_VIA },
|
||||
};
|
||||
|
||||
#define PCIC_COUNT (sizeof(pcic)/sizeof(pcic_t))
|
||||
#define PCIC_COUNT ARRAY_SIZE(pcic)
|
||||
|
||||
/*====================================================================*/
|
||||
|
||||
|
|
Loading…
Reference in a new issue