diff options
Diffstat (limited to 'backport/backport-include/linux/ioport.h')
-rw-r--r-- | backport/backport-include/linux/ioport.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/backport/backport-include/linux/ioport.h b/backport/backport-include/linux/ioport.h index b9aec4d6..34244014 100644 --- a/backport/backport-include/linux/ioport.h +++ b/backport/backport-include/linux/ioport.h @@ -6,11 +6,4 @@ #define IORESOURCE_REG 0x00000300 #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) -static inline resource_size_t resource_size(const struct resource *res) -{ - return res->end - res->start + 1; -} -#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) */ - #endif /* __BACKPORT_LINUX_IOPORT_H */ |