diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/kernel/ecard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/ecard.c b/arch/arm/kernel/ecard.c index 71257e3d513f..f1c0fb974177 100644 --- a/arch/arm/kernel/ecard.c +++ b/arch/arm/kernel/ecard.c | |||
@@ -1009,7 +1009,7 @@ ecard_probe(int slot, card_type_t type) | |||
1009 | ec->fiqmask = 4; | 1009 | ec->fiqmask = 4; |
1010 | } | 1010 | } |
1011 | 1011 | ||
1012 | for (i = 0; i < sizeof(blacklist) / sizeof(*blacklist); i++) | 1012 | for (i = 0; i < ARRAY_SIZE(blacklist); i++) |
1013 | if (blacklist[i].manufacturer == ec->cid.manufacturer && | 1013 | if (blacklist[i].manufacturer == ec->cid.manufacturer && |
1014 | blacklist[i].product == ec->cid.product) { | 1014 | blacklist[i].product == ec->cid.product) { |
1015 | ec->card_desc = blacklist[i].type; | 1015 | ec->card_desc = blacklist[i].type; |