Commit 62e7df65 authored by Paul Schulz's avatar Paul Schulz Committed by Arnd Bergmann

ARM: rpc: Change blacklist to quirklist in ecode.c file

This is a functionally trivial patch which removes the word
'blacklist' (and variations) from this code and replaces it
with 'quirklist'

It has no other effect.

Link: https://lore.kernel.org/r/20200715024755.967904-1-paul@mawsonlakes.orgSigned-off-by: default avatarPaul Schulz <paul@mawsonlakes.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent fb4ae316
...@@ -63,7 +63,7 @@ struct ecard_request { ...@@ -63,7 +63,7 @@ struct ecard_request {
struct completion *complete; struct completion *complete;
}; };
struct expcard_blacklist { struct expcard_quirklist {
unsigned short manufacturer; unsigned short manufacturer;
unsigned short product; unsigned short product;
const char *type; const char *type;
...@@ -79,7 +79,7 @@ static void atomwide_3p_quirk(ecard_t *ec); ...@@ -79,7 +79,7 @@ static void atomwide_3p_quirk(ecard_t *ec);
/* List of descriptions of cards which don't have an extended /* List of descriptions of cards which don't have an extended
* identification, or chunk directories containing a description. * identification, or chunk directories containing a description.
*/ */
static struct expcard_blacklist __initdata blacklist[] = { static struct expcard_quirklist quirklist[] __initdata = {
{ MANU_ACORN, PROD_ACORN_ETHER1, "Acorn Ether1" }, { MANU_ACORN, PROD_ACORN_ETHER1, "Acorn Ether1" },
{ MANU_ATOMWIDE, PROD_ATOMWIDE_3PSERIAL, NULL, atomwide_3p_quirk }, { MANU_ATOMWIDE, PROD_ATOMWIDE_3PSERIAL, NULL, atomwide_3p_quirk },
}; };
...@@ -935,13 +935,13 @@ static int __init ecard_probe(int slot, unsigned irq, card_type_t type) ...@@ -935,13 +935,13 @@ static int __init ecard_probe(int slot, unsigned irq, card_type_t type)
ec->fiqmask = 4; ec->fiqmask = 4;
} }
for (i = 0; i < ARRAY_SIZE(blacklist); i++) for (i = 0; i < ARRAY_SIZE(quirklist); i++)
if (blacklist[i].manufacturer == ec->cid.manufacturer && if (quirklist[i].manufacturer == ec->cid.manufacturer &&
blacklist[i].product == ec->cid.product) { quirklist[i].product == ec->cid.product) {
if (blacklist[i].type) if (quirklist[i].type)
ec->card_desc = blacklist[i].type; ec->card_desc = quirklist[i].type;
if (blacklist[i].init) if (quirklist[i].init)
blacklist[i].init(ec); quirklist[i].init(ec);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment