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:
Jim Cromie 2012-04-10 18:56:49 -06:00 committed by Dominik Brodowski
parent aaa20fc233
commit e632cd9472

View file

@ -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)
/*====================================================================*/