From 1b3c83e6d3b4d3001e42a9cf800c0071adf8e2c9 Mon Sep 17 00:00:00 2001 From: roel kluin Date: Tue, 19 Aug 2008 08:34:17 +1000 Subject: [PATCH] powerpc: Fix duplicate test of MACIO_FLAG_SCCB_ON Evidently MACIO_FLAG_SCCA_ON was meant. Signed-off-by: Roel Kluin Acked-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- arch/powerpc/platforms/powermac/feature.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/powermac/feature.c b/arch/powerpc/platforms/powermac/feature.c index 5169ecc3712..e6c0040ee79 100644 --- a/arch/powerpc/platforms/powermac/feature.c +++ b/arch/powerpc/platforms/powermac/feature.c @@ -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].type = type; 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]; revp = of_get_property(node, "revision-id", NULL); if (revp) -- 2.41.1