[PATCH] POWERPC: duplicate test of MACIO_FLAG_SCCB_ON

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: roel kluin
Date: Monday, August 18, 2008 - 3:34 pm

untested, is it correct?

arch/powerpc/include/asm/pmac_feature.h:359:
#define MACIO_FLAG_SCCA_ON  0x00000001
#define MACIO_FLAG_SCCB_ON  0x00000002
---
duplicate test of MACIO_FLAG_SCCB_ON

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/arch/powerpc/platforms/powermac/feature.c b/arch/powerpc/platforms/powermac/feature.c
index 5169ecc..e6c0040 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)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] POWERPC: duplicate test of MACIO_FLAG_SCCB_ON, Benjamin Herrenschmidt, (Mon Aug 18, 2:42 pm)
[PATCH] POWERPC: duplicate test of MACIO_FLAG_SCCB_ON, roel kluin, (Mon Aug 18, 3:34 pm)