diff options
author | Bartosz Markowski <bartosz.markowski@tieto.com> | 2011-09-02 15:24:25 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2012-03-19 09:01:43 +0100 |
commit | 18ade753de9cefd57d99e251fe70e79626d14156 (patch) | |
tree | 614020fd8578d8005453d96ed66f299a4e31090c /arch/arm/mach-ux500 | |
parent | 7a5881911052bd03ba9e940df884179e9ea90020 (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')
-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 */ |