--- zzzz-none-000/linux-3.10.107/arch/frv/mb93090-mb00/pci-dma-nommu.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/frv/mb93090-mb00/pci-dma-nommu.c 2021-02-04 17:41:59.000000000 +0000 @@ -119,14 +119,16 @@ EXPORT_SYMBOL(dma_map_single); -int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, +int dma_map_sg(struct device *dev, struct scatterlist *sglist, int nents, enum dma_data_direction direction) { int i; + struct scatterlist *sg; - for (i=0; i