diff options
Diffstat (limited to 'include/linux/io.h')
-rw-r--r-- | include/linux/io.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/io.h b/include/linux/io.h index 7fd2d2138bf3..069e4075f872 100644 --- a/include/linux/io.h +++ b/include/linux/io.h | |||
@@ -67,4 +67,13 @@ int check_signature(const volatile void __iomem *io_addr, | |||
67 | const unsigned char *signature, int length); | 67 | const unsigned char *signature, int length); |
68 | void devm_ioremap_release(struct device *dev, void *res); | 68 | void devm_ioremap_release(struct device *dev, void *res); |
69 | 69 | ||
70 | /* | ||
71 | * Some systems do not have legacy ISA devices. | ||
72 | * /dev/port is not a valid interface on these systems. | ||
73 | * So for those archs, <asm/io.h> should define the following symbol. | ||
74 | */ | ||
75 | #ifndef arch_has_dev_port | ||
76 | #define arch_has_dev_port() (1) | ||
77 | #endif | ||
78 | |||
70 | #endif /* _LINUX_IO_H */ | 79 | #endif /* _LINUX_IO_H */ |