summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2005-07-12 22:58:14 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-13 01:00:59 +0200
commit8e2f3b70e60172f5ed7c0933b8d8a35654c1c031 (patch)
tree6b44ed2ffe93c0c6a60a753b067c075bbeeaee41
parent[PATCH] x86_64: section alignment fix (diff)
downloadlinux-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>
-rw-r--r--include/pcmcia/ds.h5
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;