Commit 1b3c83e6 authored by roel kluin's avatar roel kluin Committed by Paul Mackerras

powerpc: Fix duplicate test of MACIO_FLAG_SCCB_ON

Evidently MACIO_FLAG_SCCA_ON was meant.
Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 7e392f8c
...@@ -2677,7 +2677,7 @@ static void __init probe_one_macio(const char *name, const char *compat, int typ ...@@ -2677,7 +2677,7 @@ static void __init probe_one_macio(const char *name, const char *compat, int typ
macio_chips[i].of_node = node; macio_chips[i].of_node = node;
macio_chips[i].type = type; macio_chips[i].type = type;
macio_chips[i].base = base; macio_chips[i].base = base;
macio_chips[i].flags = MACIO_FLAG_SCCB_ON | MACIO_FLAG_SCCB_ON; macio_chips[i].flags = MACIO_FLAG_SCCA_ON | MACIO_FLAG_SCCB_ON;
macio_chips[i].name = macio_names[type]; macio_chips[i].name = macio_names[type];
revp = of_get_property(node, "revision-id", NULL); revp = of_get_property(node, "revision-id", NULL);
if (revp) if (revp)
......
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