have you actually read Documentation/DMA-mapping.txt? It says quite plainly:
Drivers converted fully to this interface should not use virt_to_bus any
longer, nor should they use bus_to_virt.
[...]
It is planned to completely remove virt_to_bus() and bus_to_virt() as
they are entirely deprecated.
So, your patch is quite insufficient.
-- Revolutions do not require corporate support. - 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/