• Grant Likely's avatar
    powerpc/mpc5200: fix compile warnings in bestcomm driver · 08b6c06d
    Grant Likely authored
    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: default avatarGrant Likely <grant.likely@secretlab.ca>
    08b6c06d
sram.c 4.27 KB