diff options
author | Christoph Hellwig <hch@lst.de> | 2022-07-12 08:43:07 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-07-18 06:50:18 +0200 |
commit | 942a8186eb4451700dadd1d60a2e43ce67605991 (patch) | |
tree | 399be111bb333c795a59ef568b9b441a5ba313ec /include/linux/swiotlb.h | |
parent | 57e6840cf79a4af84f44af3f8cfeacd8a14a6c6f (diff) |
swiotlb: move struct io_tlb_slot to swiotlb.c
No need to expose this structure definition in the header.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/swiotlb.h')
-rw-r--r-- | include/linux/swiotlb.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h index d3ae03edbbd2..35bc4e281c21 100644 --- a/include/linux/swiotlb.h +++ b/include/linux/swiotlb.h @@ -101,11 +101,7 @@ struct io_tlb_mem { unsigned int nareas; unsigned int area_nslabs; struct io_tlb_area *areas; - struct io_tlb_slot { - phys_addr_t orig_addr; - size_t alloc_size; - unsigned int list; - } *slots; + struct io_tlb_slot *slots; }; extern struct io_tlb_mem io_tlb_default_mem; |