diff options
author | Thierry Reding <treding@nvidia.com> | 2015-07-01 15:17:58 +0300 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2016-01-21 01:29:52 +0300 |
commit | 386744425e35e04984c6e741c7750fd6eef1a9df (patch) | |
tree | 2ed4dcb7b924ce243044e0ef55c6d9a4ed867ac7 /include/uapi/asm-generic/mman-common.h | |
parent | 973abd30a14681543ea1edb80eb5ef04bf0bb021 (diff) | |
download | linux-386744425e35e04984c6e741c7750fd6eef1a9df.tar.xz |
swiotlb: Make linux/swiotlb.h standalone includible
This header file uses the enum dma_data_direction and struct page types
without explicitly including the corresponding header files. This makes
it rely on the includer to have included the proper headers before.
To fix this, include linux/dma-direction.h and forward-declare struct
page. The swiotlb_free() function is also annotated __init, therefore
requires linux/init.h to be included as well.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/uapi/asm-generic/mman-common.h')
0 files changed, 0 insertions, 0 deletions