add b43
[openwrt/svn-archive/archive.git] / package / b43 / src / pcmcia.h
diff --git a/package/b43/src/pcmcia.h b/package/b43/src/pcmcia.h
new file mode 100644 (file)
index 0000000..85f120a
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef B43_PCMCIA_H_
+#define B43_PCMCIA_H_
+
+#ifdef CONFIG_B43_PCMCIA
+
+int b43_pcmcia_init(void);
+void b43_pcmcia_exit(void);
+
+#else /* CONFIG_B43_PCMCIA */
+
+static inline int b43_pcmcia_init(void)
+{
+       return 0;
+}
+static inline void b43_pcmcia_exit(void)
+{
+}
+
+#endif /* CONFIG_B43_PCMCIA */
+#endif /* B43_PCMCIA_H_ */