• Olof Johansson's avatar
    powerpc: Fix fallout from sg_page() changes · 5edadbd0
    Olof Johansson authored
    Fix fallout from 18dabf47:
    
    In file included from include/linux/dma-mapping.h:52,
                     from drivers/base/dma-mapping.c:10:
    include/asm/dma-mapping.h: In function 'dma_map_sg':
    include/asm/dma-mapping.h:288: error: 'struct scatterlist' has no member named 'page'
    include/asm/dma-mapping.h:288: error: 'struct scatterlist' has no member named 'page'
    include/asm/dma-mapping.h:288: error: 'struct scatterlist' has no member named 'page'
    include/asm/dma-mapping.h:289: error: 'struct scatterlist' has no member named 'page'
    include/asm/dma-mapping.h:290: error: 'struct scatterlist' has no member named 'page'
    include/asm/dma-mapping.h: In function 'dma_sync_sg_for_cpu':
    include/asm/dma-mapping.h:331: error: 'struct scatterlist' has no member named 'page'
    
    drivers/scsi/ps3rom.c: In function 'fetch_to_dev_buffer':
    drivers/scsi/ps3rom.c:150: error: 'struct scatterlist' has no member named 'page'
    Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    5edadbd0
ps3rom.c 12.7 KB