Skip to content

Commit 1b3c83e

Browse files
RoelKluinpaulusmack
authored andcommitted
powerpc: Fix duplicate test of MACIO_FLAG_SCCB_ON
Evidently MACIO_FLAG_SCCA_ON was meant. Signed-off-by: Roel Kluin <[email protected]> Acked-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
1 parent 7e392f8 commit 1b3c83e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/platforms/powermac/feature.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2677,7 +2677,7 @@ static void __init probe_one_macio(const char *name, const char *compat, int typ
26772677
macio_chips[i].of_node = node;
26782678
macio_chips[i].type = type;
26792679
macio_chips[i].base = base;
2680-
macio_chips[i].flags = MACIO_FLAG_SCCB_ON | MACIO_FLAG_SCCB_ON;
2680+
macio_chips[i].flags = MACIO_FLAG_SCCA_ON | MACIO_FLAG_SCCB_ON;
26812681
macio_chips[i].name = macio_names[type];
26822682
revp = of_get_property(node, "revision-id", NULL);
26832683
if (revp)

0 commit comments

Comments
 (0)