diff options
author | Christian Hemp <c.hemp@phytec.de> | 2013-07-18 09:18:47 +0200 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2013-11-07 12:19:34 -0500 |
commit | 4fe828d7aab0a0a1f2671e3ea4c86f16fb8b916f (patch) | |
tree | 49a76329d6f654e6128c90961b201c9537613fe5 | |
parent | f13c38714f8a4e638eebe9a483754a6d120a0eec (diff) |
imx6q: phyflex: remove const structs
That we can change the values of the structs revisions depending
the structs can't be const.
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
-rw-r--r-- | arch/arm/mach-mx6/board-mx6q_phyflex.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_phyflex.c b/arch/arm/mach-mx6/board-mx6q_phyflex.c index dc685a45a870..13d1d923a6b9 100644 --- a/arch/arm/mach-mx6/board-mx6q_phyflex.c +++ b/arch/arm/mach-mx6/board-mx6q_phyflex.c @@ -170,7 +170,7 @@ extern char *soc_reg_id; extern char *pu_reg_id; -static const struct anatop_thermal_platform_data +static struct anatop_thermal_platform_data mx6_phyflex_anatop_thermal_data __initconst = { .name = "anatop_thermal", }; @@ -252,7 +252,7 @@ static int mx6_phyflex_spi_cs[] = { MX6_PHYFLEX_ECSPI3_CS3, }; -static const struct spi_imx_master mx6_phyflex_spi_data __initconst = { +static struct spi_imx_master mx6_phyflex_spi_data __initconst = { .chipselect = mx6_phyflex_spi_cs, .num_chipselect = ARRAY_SIZE(mx6_phyflex_spi_cs), }; @@ -790,7 +790,7 @@ static struct platform_pwm_backlight_data mx6_phyflex_pwm_backlight_data1 = { }; -static const struct flexcan_platform_data mx6_phyflex_flexcan0_pdata __initconst = { +static struct flexcan_platform_data mx6_phyflex_flexcan0_pdata __initconst = { /* PhyFlex board don't switch transivers */ .transceiver_switch = NULL, }; @@ -805,7 +805,7 @@ static void phyflex_suspend_exit(void) /* resmue resore */ } -static const struct pm_platform_data mx6_phyflex_pm_data __initconst = { +static struct pm_platform_data mx6_phyflex_pm_data __initconst = { .name = "imx_pm", .suspend_enter = phyflex_suspend_enter, .suspend_exit = phyflex_suspend_exit, @@ -991,7 +991,7 @@ static void __init mx6_phyflex_fixup(struct machine_desc *desc, struct tag *tags } -static const struct imx_pcie_platform_data mx6_phyflex_pcie_data __initconst = { +static struct imx_pcie_platform_data mx6_phyflex_pcie_data __initconst = { .pcie_rst = IMX_GPIO_NR(2, 23), .pcie_pwr_en = -EINVAL, .pcie_wake_up = IMX_GPIO_NR(1, 7), |