forked from luck/tmp_suning_uos_patched
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
|
@ -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 New Issue
Block a user