blob: 2c838ebac526a7a7feff0a79ed937d6a33ce1b19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- a/compat/compat-2.6.33.c
+++ b/compat/compat-2.6.33.c
@@ -12,6 +12,7 @@
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
+#ifdef CONFIG_PCCARD
/**
* pccard_loop_tuple() - loop over tuples in the CIS
@@ -125,6 +126,7 @@ int pcmcia_loop_tuple(struct pcmcia_devi
EXPORT_SYMBOL(pcmcia_loop_tuple);
/* Source: drivers/pcmcia/pcmcia_resource.c */
+#endif
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) */
|