diff options
Diffstat (limited to 'include/asm-powerpc/io.h')
-rw-r--r-- | include/asm-powerpc/io.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-powerpc/io.h b/include/asm-powerpc/io.h index 4840fbf89c32..a9496f34b048 100644 --- a/include/asm-powerpc/io.h +++ b/include/asm-powerpc/io.h | |||
@@ -9,6 +9,9 @@ | |||
9 | * 2 of the License, or (at your option) any later version. | 9 | * 2 of the License, or (at your option) any later version. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | /* Check of existence of legacy devices */ | ||
13 | extern int check_legacy_ioport(unsigned long base_port); | ||
14 | |||
12 | #ifndef CONFIG_PPC64 | 15 | #ifndef CONFIG_PPC64 |
13 | #include <asm-ppc/io.h> | 16 | #include <asm-ppc/io.h> |
14 | #else | 17 | #else |
@@ -431,9 +434,6 @@ out: | |||
431 | #define dma_cache_wback(_start,_size) do { } while (0) | 434 | #define dma_cache_wback(_start,_size) do { } while (0) |
432 | #define dma_cache_wback_inv(_start,_size) do { } while (0) | 435 | #define dma_cache_wback_inv(_start,_size) do { } while (0) |
433 | 436 | ||
434 | /* Check of existence of legacy devices */ | ||
435 | extern int check_legacy_ioport(unsigned long base_port); | ||
436 | |||
437 | 437 | ||
438 | /* | 438 | /* |
439 | * Convert a physical pointer to a virtual kernel pointer for /dev/mem | 439 | * Convert a physical pointer to a virtual kernel pointer for /dev/mem |