summaryrefslogtreecommitdiffstats
path: root/package/bcm43xx-mac80211/src/bcm43xx/bcm43xx_pcmcia.h
diff options
context:
space:
mode:
authornoz <noz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-21 20:45:45 +0000
committernoz <noz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-21 20:45:45 +0000
commitd80cb30469c1822c8abc8c4693188dd14180771a (patch)
tree3a5b1376d7cf2c0a74a5213dfa316f42db553604 /package/bcm43xx-mac80211/src/bcm43xx/bcm43xx_pcmcia.h
parent9aa53bb177b63674ce49e045bed55575fd3907a1 (diff)
New: mac80211-based bcm43xx driver from the wireless-dev tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7693 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/bcm43xx-mac80211/src/bcm43xx/bcm43xx_pcmcia.h')
-rw-r--r--package/bcm43xx-mac80211/src/bcm43xx/bcm43xx_pcmcia.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/bcm43xx-mac80211/src/bcm43xx/bcm43xx_pcmcia.h b/package/bcm43xx-mac80211/src/bcm43xx/bcm43xx_pcmcia.h
new file mode 100644
index 000000000..e6d5788b7
--- /dev/null
+++ b/package/bcm43xx-mac80211/src/bcm43xx/bcm43xx_pcmcia.h
@@ -0,0 +1,22 @@
+#ifndef BCM43xx_PCMCIA_H_
+#define BCM43xx_PCMCIA_H_
+
+#ifdef CONFIG_BCM43XX_MAC80211_PCMCIA
+
+int bcm43xx_pcmcia_init(void);
+void bcm43xx_pcmcia_exit(void);
+
+#else /* CONFIG_BCM43XX_MAC80211_PCMCIA */
+
+static inline
+int bcm43xx_pcmcia_init(void)
+{
+ return 0;
+}
+static inline
+void bcm43xx_pcmcia_exit(void)
+{
+}
+
+#endif /* CONFIG_BCM43XX_MAC80211_PCMCIA */
+#endif /* BCM43xx_PCMCIA_H_ */