diff options
author | Andy Shevchenko <[email protected]> | 2020-09-02 20:31:04 +0300 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2020-09-10 09:41:30 -0400 |
commit | 61b82bbf693ecd307550ee64a8af192e8e33c46c (patch) | |
tree | 848a5791b4263b7caa966f67b9baa26f2ee7ac40 /fs/xfs/libxfs | |
parent | 4db7b6aacc573b89227a1b5960af9d2a17f17762 (diff) |
swiotlb: Declare swiotlb_late_init_with_default_size() in header
Compiler is not happy about one function prototype:
CC kernel/dma/swiotlb.o
kernel/dma/swiotlb.c:275:1: warning: no previous prototype for ‘swiotlb_late_init_with_default_size’ [-Wmissing-prototypes]
275 | swiotlb_late_init_with_default_size(size_t default_size)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Since it's used outside of the module, move its declaration to the header
from the user.
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs')
0 files changed, 0 insertions, 0 deletions