diff options
Diffstat (limited to 'arch/x86/include/asm/swiotlb.h')
-rw-r--r-- | arch/x86/include/asm/swiotlb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/include/asm/swiotlb.h b/arch/x86/include/asm/swiotlb.h index b9e4e20174fb..940f13a213f8 100644 --- a/arch/x86/include/asm/swiotlb.h +++ b/arch/x86/include/asm/swiotlb.h | |||
@@ -9,11 +9,12 @@ extern int swiotlb_force; | |||
9 | 9 | ||
10 | #ifdef CONFIG_SWIOTLB | 10 | #ifdef CONFIG_SWIOTLB |
11 | extern int swiotlb; | 11 | extern int swiotlb; |
12 | extern void pci_swiotlb_init(void); | 12 | extern int pci_swiotlb_init(void); |
13 | #else | 13 | #else |
14 | #define swiotlb 0 | 14 | #define swiotlb 0 |
15 | static inline void pci_swiotlb_init(void) | 15 | static inline int pci_swiotlb_init(void) |
16 | { | 16 | { |
17 | return 0; | ||
17 | } | 18 | } |
18 | #endif | 19 | #endif |
19 | 20 | ||