]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
drivers/mmc/fsl_esdhc.c: fix compiler warnings
authorWolfgang Denk <wd@denx.de>
Sun, 9 May 2010 21:52:59 +0000 (23:52 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 15 May 2010 17:47:17 +0000 (19:47 +0200)
commit7b43db92110ec2f15c5f7187a165f2928464966b
treeb59dfc02b03df791f4d9f9a9bd1d198aefbd5b87
parentab92d0fd9abd0d4726878a80c6baf3a0f94770b8
drivers/mmc/fsl_esdhc.c: fix compiler warnings

Commit 77c1458d caused the following compiler warnings:

fsl_esdhc.c: In function 'esdhc_pio_read_write':
fsl_esdhc.c:142: warning: assignment discards qualifiers from pointer target type
fsl_esdhc.c: In function 'esdhc_setup_data':
fsl_esdhc.c:169: warning: unused variable 'wml_value'
fsl_esdhc.c: In function 'esdhc_pio_read_write':
fsl_esdhc.c:164: warning: control reaches end of non-void function

Fix these.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Dipen Dudhat <dipen.dudhat@freescale.com>
Cc: Andy Fleming <afleming@freescale.com>
drivers/mmc/fsl_esdhc.c