X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Flinux%2Fswiotlb.h;h=dedd3c0cfe300c8fbaf841cd525d8991cd404c19;hb=ed223129a30de7d244ca9b59819f5532c9caf039;hp=325af1de0351a0062fab92f2a6d8d2226879a2be;hpb=526ea064f953fc5ad2fb905b537f490b9374a0f0;p=profile%2Fivi%2Fkernel-x86-ivi.git diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h index 325af1d..dedd3c0 100644 --- a/include/linux/swiotlb.h +++ b/include/linux/swiotlb.h @@ -27,7 +27,8 @@ swiotlb_init(void); extern void *swiotlb_alloc_boot(size_t bytes, unsigned long nslabs); extern void *swiotlb_alloc(unsigned order, unsigned long nslabs); -extern dma_addr_t swiotlb_phys_to_bus(phys_addr_t address); +extern dma_addr_t swiotlb_phys_to_bus(struct device *hwdev, + phys_addr_t address); extern phys_addr_t swiotlb_bus_to_phys(dma_addr_t address); extern int swiotlb_arch_range_needs_mapping(void *ptr, size_t size);