powerpc/mpc5200: fix build warnings on mpc52xx_psc_spi driver
authorGrant Likely <grant.likely@secretlab.ca>
Wed, 8 Oct 2008 15:02:11 +0000 (09:02 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 8 Oct 2008 15:02:11 +0000 (09:02 -0600)
commita897ea13f7a801e6baba8d4985f459042712244c
tree580ce1aee753c3e1e7963e252beaf10ac8d87df6
parent7c12d906f4ef690c65e60111375856640f63a545
powerpc/mpc5200: fix build warnings on mpc52xx_psc_spi driver

The register definitions have been changed for the mpc5200 PSC ports
to cover some of the changes in the mpc5200b.  One change is that the
ccr register is now a u32 instead of a u16.  However, for the purposes
of this driver we want to continue to use 16 bit access to avoid
changing the existing (working) behaviour.

This patch allows the driver to continue to do 16 bit accesses without
the compiler complaining about it.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/mpc52xx_psc_spi.c