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:
29fd6c5
)
backports: protect pcmcia_enable_device
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sat, 1 Jun 2013 16:00:16 +0000
(18:00 +0200)
committer
Luis R. Rodriguez
<mcgrof@do-not-panic.com>
Thu, 6 Jun 2013 04:35:49 +0000
(21:35 -0700)
This is already defined in RHEL 6.4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backport/backport-include/pcmcia/ds.h
patch
|
blob
|
history
diff --git
a/backport/backport-include/pcmcia/ds.h
b/backport/backport-include/pcmcia/ds.h
index f0cc5feb9a078aad6e275ea000857b4fabe486f7..48e8fb4a7323f15ad0e1be117c28d42ef87e9439 100644
(file)
--- 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)