diff options
Diffstat (limited to 'klaptopdaemon/linux')
-rw-r--r-- | klaptopdaemon/linux/cs.h | 4 | ||||
-rw-r--r-- | klaptopdaemon/linux/k_compat.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/klaptopdaemon/linux/cs.h b/klaptopdaemon/linux/cs.h index 69a38e0..93d159a 100644 --- a/klaptopdaemon/linux/cs.h +++ b/klaptopdaemon/linux/cs.h @@ -220,10 +220,10 @@ typedef struct irq_req_t { #define IRTQ_PULSE_ID 0x40 #define IRTQ_SHARE_ID 0x80 -typedef struct eventtqmask_t { +typedef struct eventmask_t { u_int Attributes; u_int EventMask; -} eventtqmask_t; +} eventmask_t; #define CONF_EVENT_MASK_VALID 0x01 diff --git a/klaptopdaemon/linux/k_compat.h b/klaptopdaemon/linux/k_compat.h index d18eaa5..e6d581b 100644 --- a/klaptopdaemon/linux/k_compat.h +++ b/klaptopdaemon/linux/k_compat.h @@ -124,11 +124,11 @@ #endif #if (LINUX_VERSION_CODE < VERSION(2,1,51)) -#define INVALIDATE_INODES(r) tqinvalidate_inodes(r) +#define INVALIDATE_INODES(r) invalidate_inodes(r) #else #define INVALIDATE_INODES(r) \ do { struct super_block *sb = get_super(r); \ - if (sb) tqinvalidate_inodes(sb); } while (0) + if (sb) invalidate_inodes(sb); } while (0) #endif #if (LINUX_VERSION_CODE < VERSION(2,1,60)) |