original_kernel/arch/powerpc/platforms/83xx
Dan Carpenter c65540453e powerpc/83xx: Use sizeof correct type when ioremapping
There is a cut and paste error here so we use sizeof(struct mpc83xx_pmc)
to remap the memory for "clock_regs". That sizeof() is 20 bytes and we
only need to remap 12 bytes. It presumably doesn't affect run time too
much...

I changed them to both use sizeof(*variable_name) because that's the
preferred kernel style these days.

Fixes: d49747bdfb ("powerpc/mpc83xx: Power Management support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
[mpe: It will map at least one page anyway, but still a good cleanup]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-08-31 14:26:05 +10:00
..
Kconfig
Makefile
asp834x.c
km83xx.c
mcu_mpc8349emitx.c
misc.c
mpc83xx.h
mpc830x_rdb.c
mpc831x_rdb.c
mpc832x_mds.c
mpc832x_rdb.c
mpc834x_itx.c
mpc834x_mds.c
mpc836x_mds.c
mpc836x_rdk.c
mpc837x_mds.c
mpc837x_rdb.c
sbc834x.c
suspend-asm.S
suspend.c
usb.c