projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b002e5
)
Fix build with CONFIG_PCMCIA disabled
author
Luis R. Rodriguez
<lrodriguez@atheros.com>
Tue, 19 Jan 2010 23:58:56 +0000
(15:58 -0800)
committer
Luis R. Rodriguez
<lrodriguez@atheros.com>
Tue, 19 Jan 2010 23:58:56 +0000
(15:58 -0800)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
include/linux/compat-2.6.33.h
patch
|
blob
|
history
diff --git
a/include/linux/compat-2.6.33.h
b/include/linux/compat-2.6.33.h
index 73fc91c8a0de2603e62c7a9cb97e46e9afc3f1b6..9559f21d17387c9ad40dd9fcdf0d0fe962ec885e 100644
(file)
--- a/
include/linux/compat-2.6.33.h
+++ b/
include/linux/compat-2.6.33.h
@@
-6,9
+6,13
@@
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
#include <linux/skbuff.h>
+#if defined(CONFIG_PCCARD) || defined(CONFIG_PCCARD_MODULE)
+#if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
#include <pcmcia/cs_types.h>
#include <pcmcia/cistpl.h>
#include <pcmcia/ds.h>
+#endif
+#endif
#include <linux/kfifo.h>
#include <linux/firmware.h>