From: roel kluin Date: Mon, 18 Aug 2008 22:34:17 +0000 (+1000) Subject: powerpc: Fix duplicate test of MACIO_FLAG_SCCB_ON X-Git-Tag: v2.6.28-rc1~569^2~76 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1b3c83e6d3b4d3001e42a9cf800c0071adf8e2c9;p=linux-2.6-omap-h63xx.git 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 --- 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)