Skip to content

Commit 62e7df6

Browse files
PaulSchulzarndb
authored andcommitted
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/[email protected] Signed-off-by: Paul Schulz <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent fb4ae31 commit 62e7df6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

arch/arm/mach-rpc/ecard.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ struct ecard_request {
6363
struct completion *complete;
6464
};
6565

66-
struct expcard_blacklist {
66+
struct expcard_quirklist {
6767
unsigned short manufacturer;
6868
unsigned short product;
6969
const char *type;
@@ -79,7 +79,7 @@ static void atomwide_3p_quirk(ecard_t *ec);
7979
/* List of descriptions of cards which don't have an extended
8080
* identification, or chunk directories containing a description.
8181
*/
82-
static struct expcard_blacklist __initdata blacklist[] = {
82+
static struct expcard_quirklist quirklist[] __initdata = {
8383
{ MANU_ACORN, PROD_ACORN_ETHER1, "Acorn Ether1" },
8484
{ MANU_ATOMWIDE, PROD_ATOMWIDE_3PSERIAL, NULL, atomwide_3p_quirk },
8585
};
@@ -935,13 +935,13 @@ static int __init ecard_probe(int slot, unsigned irq, card_type_t type)
935935
ec->fiqmask = 4;
936936
}
937937

938-
for (i = 0; i < ARRAY_SIZE(blacklist); i++)
939-
if (blacklist[i].manufacturer == ec->cid.manufacturer &&
940-
blacklist[i].product == ec->cid.product) {
941-
if (blacklist[i].type)
942-
ec->card_desc = blacklist[i].type;
943-
if (blacklist[i].init)
944-
blacklist[i].init(ec);
938+
for (i = 0; i < ARRAY_SIZE(quirklist); i++)
939+
if (quirklist[i].manufacturer == ec->cid.manufacturer &&
940+
quirklist[i].product == ec->cid.product) {
941+
if (quirklist[i].type)
942+
ec->card_desc = quirklist[i].type;
943+
if (quirklist[i].init)
944+
quirklist[i].init(ec);
945945
break;
946946
}
947947

0 commit comments

Comments
 (0)