--- zzzz-none-000/linux-5.4.213/include/linux/dmapool.h 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/include/linux/dmapool.h 2024-08-14 09:02:08.000000000 +0000 @@ -16,6 +16,17 @@ struct device; +struct dma_pool { /* the pool */ + struct list_head page_list; + spinlock_t lock; + size_t size; + struct device *dev; + size_t allocation; + size_t boundary; + char name[32]; + struct list_head pools; +}; + #ifdef CONFIG_HAS_DMA struct dma_pool *dma_pool_create(const char *name, struct device *dev,