diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-07-12 16:58:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 19:00:59 -0400 |
commit | 8e2f3b70e60172f5ed7c0933b8d8a35654c1c031 (patch) | |
tree | 6b44ed2ffe93c0c6a60a753b067c075bbeeaee41 /include/pcmcia | |
parent | d312ceda567ab91acd756cde95ac5fbc6b40ed40 (diff) |
[PATCH] pcmcia: fix pcmcia-cs compilation
Fix pcmcia-cs compilation with recent pcmcia kernel changes.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/pcmcia')
-rw-r--r-- | include/pcmcia/ds.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h index 0190e766e1a..b707a603351 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h | |||
@@ -16,10 +16,13 @@ | |||
16 | #ifndef _LINUX_DS_H | 16 | #ifndef _LINUX_DS_H |
17 | #define _LINUX_DS_H | 17 | #define _LINUX_DS_H |
18 | 18 | ||
19 | #ifdef __KERNEL__ | ||
20 | #include <linux/mod_devicetable.h> | ||
21 | #endif | ||
22 | |||
19 | #include <pcmcia/bulkmem.h> | 23 | #include <pcmcia/bulkmem.h> |
20 | #include <pcmcia/cs_types.h> | 24 | #include <pcmcia/cs_types.h> |
21 | #include <pcmcia/device_id.h> | 25 | #include <pcmcia/device_id.h> |
22 | #include <linux/mod_devicetable.h> | ||
23 | 26 | ||
24 | typedef struct tuple_parse_t { | 27 | typedef struct tuple_parse_t { |
25 | tuple_t tuple; | 28 | tuple_t tuple; |