aboutsummaryrefslogtreecommitdiffstats
path: root/package/b43/src/pcmcia.h
diff options
context:
space:
mode:
Diffstat (limited to 'package/b43/src/pcmcia.h')
-rw-r--r--package/b43/src/pcmcia.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/b43/src/pcmcia.h b/package/b43/src/pcmcia.h
new file mode 100644
index 0000000000..85f120a67c
--- /dev/null
+++ b/package/b43/src/pcmcia.h
@@ -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_ */