]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mpc5200: fix compile warnings in bestcomm driver
authorGrant Likely <grant.likely@secretlab.ca>
Fri, 11 Jul 2008 22:17:58 +0000 (16:17 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 12 Jul 2008 18:10:53 +0000 (12:10 -0600)
commitb9b9ddb34b11e58d3e6db5d540c828a855f13067
tree65f7bd358bccfff73b569d6b6802f9e4741013ca
parent67c22fad6d00e1e081bbc9a849bd24871e94eb2d
powerpc/mpc5200: fix compile warnings in bestcomm driver

Fix for the following compiler warnings:

  CC      arch/powerpc/sysdev/bestcomm/bestcomm.o
  arch/powerpc/sysdev/bestcomm/bestcomm.c: In function 'mpc52xx_bcom_probe':
  arch/powerpc/sysdev/bestcomm/bestcomm.c:446:
      warning: format '%08lx' expects type 'long unsigned int',
      but argument 2 has type 'phys_addr_t'
  CC      arch/powerpc/sysdev/bestcomm/sram.o
  arch/powerpc/sysdev/bestcomm/sram.c: In function 'bcom_sram_init':
  arch/powerpc/sysdev/bestcomm/sram.c:89:
      warning: format '%08lx' expects type 'long unsigned int',
      but argument 3 has type 'phys_addr_t'

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/sysdev/bestcomm/bestcomm.c
arch/powerpc/sysdev/bestcomm/sram.c