diff options
Diffstat (limited to 'include/linux/io.h')
| -rw-r--r-- | include/linux/io.h | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/io.h b/include/linux/io.h index 986f2bffea1e..fb5a99800e77 100644 --- a/include/linux/io.h +++ b/include/linux/io.h  | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | #define _LINUX_IO_H | 19 | #define _LINUX_IO_H | 
| 20 | 20 | ||
| 21 | #include <linux/types.h> | 21 | #include <linux/types.h> | 
| 22 | #include <linux/init.h> | ||
| 22 | #include <asm/io.h> | 23 | #include <asm/io.h> | 
| 23 | #include <asm/page.h> | 24 | #include <asm/page.h> | 
| 24 | 25 | ||
| @@ -111,6 +112,13 @@ static inline void arch_phys_wc_del(int handle) | |||
| 111 | } | 112 | } | 
| 112 | 113 | ||
| 113 | #define arch_phys_wc_add arch_phys_wc_add | 114 | #define arch_phys_wc_add arch_phys_wc_add | 
| 115 | #ifndef arch_phys_wc_index | ||
| 116 | static inline int arch_phys_wc_index(int handle) | ||
| 117 | { | ||
| 118 | return -1; | ||
| 119 | } | ||
| 120 | #define arch_phys_wc_index arch_phys_wc_index | ||
| 121 | #endif | ||
| 114 | #endif | 122 | #endif | 
| 115 | 123 | ||
| 116 | #endif /* _LINUX_IO_H */ | 124 | #endif /* _LINUX_IO_H */ | 
