]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sata_sil3114: fix compiler warning
authorKim Phillips <kim.phillips@freescale.com>
Wed, 18 Feb 2009 23:43:59 +0000 (17:43 -0600)
committerWolfgang Denk <wd@denx.de>
Wed, 18 Feb 2009 23:37:18 +0000 (00:37 +0100)
commit369d0aa9674b65c83f8553b9bcf9d207dc369223
tree62390d9f8c0b0c1af3eb613591a4f86ac2703c78
parentf5675aa5ceeef30740970ab8ca0c8cbc324945cd
sata_sil3114: fix compiler warning

judging from other printfs in the same file, it seems ata should be
postpended with the interface number, not the address of the global
port variable.  Fixes this for current u-boot-mpc83xx tree:

Configuring for MPC8349ITX board...
sata_sil3114.c: In function 'sata_bus_softreset':
sata_sil3114.c:99: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'struct sata_port *'
sata_sil3114.c:108: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'struct sata_port *'

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
drivers/block/sata_sil3114.c