]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/x86/include/asm/swiotlb.h
swiotlb: Remove the swiotlb variable usage
[mirror_ubuntu-artful-kernel.git] / arch / x86 / include / asm / swiotlb.h
index b9e4e20174fbb0c9519848f1f542b2bb3e9c2a89..940f13a213f864a07a64f3494b17d258b4907394 100644 (file)
@@ -9,11 +9,12 @@ extern int swiotlb_force;
 
 #ifdef CONFIG_SWIOTLB
 extern int swiotlb;
-extern void pci_swiotlb_init(void);
+extern int pci_swiotlb_init(void);
 #else
 #define swiotlb 0
-static inline void pci_swiotlb_init(void)
+static inline int pci_swiotlb_init(void)
 {
+       return 0;
 }
 #endif