[PATCH 1/8] pcmcia: fix pcmcia-cs compilation
Dominik Brodowski
linux at dominikbrodowski.net
Mon Jul 11 18:20:31 EDT 2005
Fix pcmcia-cs compilation with recent pcmcia kernel changes.
Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
---
include/pcmcia/ds.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
Index: 2.6.12-git10/include/pcmcia/ds.h
===================================================================
--- 2.6.12-git10.orig/include/pcmcia/ds.h
+++ 2.6.12-git10/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;
More information about the linux-pcmcia
mailing list