diff options
author | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-04-06 11:11:31 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-04-06 11:11:31 +0200 |
commit | 5c807f98e94548dac3fcbd391389c0869f8a9f32 (patch) | |
tree | d8b652c2d428b78f7bdfd890102b5a5ca2628093 /arch/arm/mach-ux500/include/mach/cw1200_plat.h | |
parent | fe07b033c06f6f5e9bda543da22cfa7962325e56 (diff) | |
parent | bd6a3784c37447e7336759ff4910f6cd3ff89f34 (diff) |
Merge topic branch 'wlan' into integration-linux-ux500-3.3
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 */ |