compat: backport PCMCIA API changes.
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 19 Sep 2010 17:42:08 +0000 (10:42 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 20 Sep 2010 15:14:59 +0000 (08:14 -0700)
This backports the API change to pcmcia_enable_device

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
include/linux/compat-2.6.37.h

index 8ea0bab..7fce42a 100644 (file)
@@ -43,6 +43,8 @@ static inline void skb_checksum_none_assert(struct sk_buff *skb)
 #endif
 }
 
+#define pcmcia_enable_device(link)     pcmcia_request_configuration(link, &link->conf)
+
 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)) */
 
 #endif /* LINUX_26_37_COMPAT_H */