[PATCH] powerpc: Fix typo in powermac platform functions
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 4 Sep 2006 00:36:15 +0000 (10:36 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 4 Sep 2006 00:53:50 +0000 (17:53 -0700)
New sparse caught that typo which could have caused erratic hardware
behaviour on some machines if the platform functions are used by the
firmware to change bits in some FCR registers.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/powerpc/platforms/powermac/pfunc_base.c

index 6d66359ec8c897d10e47debbed9162ab66470a7f..aacfa59595d19e067ab88105a27f9d3951780e04 100644 (file)
@@ -256,7 +256,7 @@ static struct pmf_handlers macio_mmio_handlers = {
        .write_reg32            = macio_do_write_reg32,
        .read_reg32             = macio_do_read_reg32,
        .write_reg8             = macio_do_write_reg8,
-       .read_reg32             = macio_do_read_reg8,
+       .read_reg             = macio_do_read_reg8,
        .read_reg32_msrx        = macio_do_read_reg32_msrx,
        .read_reg8_msrx         = macio_do_read_reg8_msrx,
        .write_reg32_slm        = macio_do_write_reg32_slm,