diff options
author | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-06-04 19:45:35 +0800 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-06-04 19:45:35 +0800 |
commit | 6da6382191c30868dd8bf0624f6c2439339b7760 (patch) | |
tree | 8d6f273d0a4db9c0651371386c67e6c4f7de98c9 /arch/arm/mach-ux500/include/mach/cw1200_plat.h | |
parent | 06c48e022c9737a840da15fd47c7df24dc5d5b9a (diff) | |
parent | 5c5f4d2df9e9c8eacfdab76ac8060d80c802616c (diff) |
Merge topic branch 'wlan' into integration-linux-ux500
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/cw1200_plat.h')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/cw1200_plat.h | 28 |
1 files changed, 28 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..3a73183c9f8 --- /dev/null +++ b/arch/arm/mach-ux500/include/mach/cw1200_plat.h @@ -0,0 +1,28 @@ +/* + * 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); + int (*clk_ctrl)(const struct cw1200_platform_data *pdata, + bool enable); + int (*prcmu_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 */ |