diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-07-12 22:58:14 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-13 01:00:59 +0200 |
commit | 8e2f3b70e60172f5ed7c0933b8d8a35654c1c031 (patch) | |
tree | 6b44ed2ffe93c0c6a60a753b067c075bbeeaee41 /include/pcmcia | |
parent | [PATCH] x86_64: section alignment fix (diff) | |
download | linux-8e2f3b70e60172f5ed7c0933b8d8a35654c1c031.tar.xz linux-8e2f3b70e60172f5ed7c0933b8d8a35654c1c031.zip |
[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 0190e766e1a7..b707a603351b 100644 --- a/include/pcmcia/ds.h +++ b/include/pcmcia/ds.h @@ -16,10 +16,13 @@ #ifndef _LINUX_DS_H #define _LINUX_DS_H +#ifdef __KERNEL__ +#include <linux/mod_devicetable.h> +#endif + #include <pcmcia/bulkmem.h> #include <pcmcia/cs_types.h> #include <pcmcia/device_id.h> -#include <linux/mod_devicetable.h> typedef struct tuple_parse_t { tuple_t tuple; |