• Anton Vorontsov's avatar
    sata_fsl: fix build with ATA_VERBOSE_DEBUG · b1f5dc48
    Anton Vorontsov authored
    
    
    This patch fixes build and few warnings when ATA_VERBOSE_DEBUG
    is defined:
    
      CC      drivers/ata/sata_fsl.o
    drivers/ata/sata_fsl.c: In function ‘sata_fsl_fill_sg’:
    drivers/ata/sata_fsl.c:338: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘void *’
    drivers/ata/sata_fsl.c:338: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘struct prde *’
    drivers/ata/sata_fsl.c: In function ‘sata_fsl_qc_issue’:
    drivers/ata/sata_fsl.c:459: error: ‘csr_base’ undeclared (first use in this function)
    drivers/ata/sata_fsl.c:459: error: (Each undeclared identifier is reported only once
    drivers/ata/sata_fsl.c:459: error: for each function it appears in.)
    drivers/ata/sata_fsl.c: In function ‘sata_fsl_freeze’:
    drivers/ata/sata_fsl.c:525: error: ‘csr_base’ undeclared (first use in this function)
    make[2]: *** [drivers/ata/sata_fsl.o] Error 1
    Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    b1f5dc48