diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2012-04-10 18:56:49 -0600 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2015-05-30 15:10:47 +0200 |
commit | e632cd94723e12083ee5d0c633f37ce504a54c2b (patch) | |
tree | 2107877c2f01bd7aee0b1b053b13d9ef0bb4bbaa /drivers | |
parent | aaa20fc23341be3df7b17810e330f12244abcf29 (diff) | |
download | linux-stable-e632cd94723e12083ee5d0c633f37ce504a54c2b.tar.gz linux-stable-e632cd94723e12083ee5d0c633f37ce504a54c2b.tar.bz2 linux-stable-e632cd94723e12083ee5d0c633f37ce504a54c2b.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pcmcia/i82365.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/i82365.c b/drivers/pcmcia/i82365.c index a2c138719bac..479b7951b1c3 100644 --- a/drivers/pcmcia/i82365.c +++ b/drivers/pcmcia/i82365.c @@ -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) /*====================================================================*/ |