]> err.no Git - linux-2.6/blobdiff - lib/swiotlb.c
udf: add assertions
[linux-2.6] / lib / swiotlb.c
index 067eed5b275864f3ece19ad6c31b96e6c6a3ed76..10c13ad0d82d89dadebcee23951830d18599f0e0 100644 (file)
@@ -272,7 +272,7 @@ cleanup1:
        return -ENOMEM;
 }
 
-static inline int
+static int
 address_needs_mapping(struct device *hwdev, dma_addr_t addr)
 {
        dma_addr_t mask = 0xffffffff;
@@ -596,7 +596,7 @@ swiotlb_unmap_single(struct device *hwdev, dma_addr_t dev_addr, size_t size,
  * address back to the card, you must first perform a
  * swiotlb_dma_sync_for_device, and then the device again owns the buffer
  */
-static inline void
+static void
 swiotlb_sync_single(struct device *hwdev, dma_addr_t dev_addr,
                    size_t size, int dir, int target)
 {
@@ -626,7 +626,7 @@ swiotlb_sync_single_for_device(struct device *hwdev, dma_addr_t dev_addr,
 /*
  * Same as above, but for a sub-range of the mapping.
  */
-static inline void
+static void
 swiotlb_sync_single_range(struct device *hwdev, dma_addr_t dev_addr,
                          unsigned long offset, size_t size,
                          int dir, int target)
@@ -730,7 +730,7 @@ swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nelems,
  * The same as swiotlb_sync_single_* but for a scatter-gather list, same rules
  * and usage.
  */
-static inline void
+static void
 swiotlb_sync_sg(struct device *hwdev, struct scatterlist *sg,
                int nelems, int dir, int target)
 {
@@ -778,7 +778,6 @@ swiotlb_dma_supported(struct device *hwdev, u64 mask)
        return virt_to_bus(io_tlb_end - 1) <= mask;
 }
 
-EXPORT_SYMBOL(swiotlb_init);
 EXPORT_SYMBOL(swiotlb_map_single);
 EXPORT_SYMBOL(swiotlb_unmap_single);
 EXPORT_SYMBOL(swiotlb_map_sg);