[PATCH] fix virt_to_bus compile error in irda.o

From: andersg@0x63.nu
Date: Tue Feb 26 2002 - 20:21:08 EST


Hi,

following patch makes irda compile again. This code is only used by
isa-drivers.

-- 

//anders/g

--- linux-2.5.6-pre1/net/irda/irda_device.c Sat Jan 12 01:20:47 2002 +++ linux-2.5.6-pre1-irda/net/irda/irda_device.c Wed Feb 27 02:05:22 2002 @@ -598,7 +598,7 @@ disable_dma(channel); clear_dma_ff(channel); set_dma_mode(channel, mode); - set_dma_addr(channel, virt_to_bus(buffer)); + set_dma_addr(channel, isa_virt_to_bus(buffer)); set_dma_count(channel, count); enable_dma(channel);

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 28 2002 - 21:00:35 EST