diff options
author | Bartosz Markowski <bartosz.markowski@tieto.com> | 2011-09-02 15:24:25 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 16:05:58 +0200 |
commit | d2ae5910eb962e716cbed18290e9db145ef1b98a (patch) | |
tree | 927951cc71cbfb3b22c086eeb3988f79a8c46a84 /arch | |
parent | 5c65515a602d7157af73399e8a8bd886d3d936a6 (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')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/cw1200_plat.h | 24 |
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 */ |