summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/include
diff options
context:
space:
mode:
authorBartosz Markowski <bartosz.markowski@tieto.com>2011-09-02 15:24:25 +0200
committerLee Jones <lee.jones@linaro.org>2012-01-05 10:19:29 +0000
commit7f40d09b0017a8b1c929a5d8a04564d11d20c0ae (patch)
treeaf9e257703100d31e50d23ed1e676d8ed1877437 /arch/arm/mach-ux500/include
parent91fc52c4bb4c7f69653e180a0cbebff8bb96ae2b (diff)
WLAN: Add cw1200_plat.h to mach-ux500 includes
ST-Ericsson ID: 355582, 352334 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com> Change-Id: Icbfbbb21be76d21c4f1190d586ec8458ea6aa12d Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30084
Diffstat (limited to 'arch/arm/mach-ux500/include')
-rw-r--r--arch/arm/mach-ux500/include/mach/cw1200_plat.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/cw1200_plat.h b/arch/arm/mach-ux500/include/mach/cw1200_plat.h
new file mode 100644
index 00000000000..e79794f42a3
--- /dev/null
+++ b/arch/arm/mach-ux500/include/mach/cw1200_plat.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) ST-Ericsson SA 2011
+ *
+ * Author: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>
+ * License terms: GNU General Public License (GPL) version 2
+ */
+
+#ifndef CW1200_PLAT_H_INCLUDED
+#define CW1200_PLAT_H_INCLUDED
+
+#include <linux/ioport.h>
+
+struct cw1200_platform_data {
+ const char *mmc_id;
+ const struct resource *irq;
+ const struct resource *reset;
+ int (*power_ctrl)(const struct cw1200_platform_data *pdata,
+ bool enable);
+};
+
+/* Declaration only. Should be implemented in arch/xxx/mach-yyy */
+const struct cw1200_platform_data *cw1200_get_platform_data(void);
+
+#endif /* CW1200_PLAT_H_INCLUDED */