This is already defined in RHEL 6.4

Signed-off-by: Hauke Mehrtens <[email protected]>
---
 backport/backport-include/pcmcia/ds.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/backport/backport-include/pcmcia/ds.h 
b/backport/backport-include/pcmcia/ds.h
index f0cc5fe..48e8fb4 100644
--- a/backport/backport-include/pcmcia/ds.h
+++ b/backport/backport-include/pcmcia/ds.h
@@ -27,7 +27,9 @@
 #endif
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)
-#define pcmcia_enable_device(link)     pcmcia_request_configuration(link, 
&link->conf)
+#ifndef pcmcia_enable_device
+#define pcmcia_enable_device(link)     pcmcia_request_configuration(link, 
&(link)->conf)
+#endif
 #endif
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to