diff mbox

[1/3] clk: tegra114: Fix incorrect placement of __initdata

Message ID 1375935949-19557-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sachin Kamat Aug. 8, 2013, 4:25 a.m. UTC
__initdata should be placed between the variable name and equal
sign for the variable to be placed in the intended section.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/clk/tegra/clk-tegra114.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Warren Aug. 8, 2013, 6:16 p.m. UTC | #1
On 08/07/2013 10:25 PM, Sachin Kamat wrote:
> __initdata should be placed between the variable name and equal
> sign for the variable to be placed in the intended section.

The series,
Acked-by: Stephen Warren <swarren@nvidia.com>

Patch 1,
Tested-by: Stephen Warren <swarren@nvidia.com>

Mike, I assume you'll take these through the clock tree.
Mike Turquette Aug. 8, 2013, 10:32 p.m. UTC | #2
Quoting Stephen Warren (2013-08-08 11:16:55)
> On 08/07/2013 10:25 PM, Sachin Kamat wrote:
> > __initdata should be placed between the variable name and equal
> > sign for the variable to be placed in the intended section.
> 
> The series,
> Acked-by: Stephen Warren <swarren@nvidia.com>
> 
> Patch 1,
> Tested-by: Stephen Warren <swarren@nvidia.com>
> 
> Mike, I assume you'll take these through the clock tree.

Done.

Regards,
Mike
Sachin Kamat Aug. 9, 2013, 5:32 a.m. UTC | #3
On 8 August 2013 23:46, Stephen Warren <swarren@wwwdotorg.org> wrote:
> On 08/07/2013 10:25 PM, Sachin Kamat wrote:
>> __initdata should be placed between the variable name and equal
>> sign for the variable to be placed in the intended section.
>
> The series,
> Acked-by: Stephen Warren <swarren@nvidia.com>
>
> Patch 1,
> Tested-by: Stephen Warren <swarren@nvidia.com>

Thanks Stephen.
diff mbox

Patch

diff --git a/drivers/clk/tegra/clk-tegra114.c b/drivers/clk/tegra/clk-tegra114.c
index f74ed19..66fa1d6 100644
--- a/drivers/clk/tegra/clk-tegra114.c
+++ b/drivers/clk/tegra/clk-tegra114.c
@@ -2182,7 +2182,7 @@  static const struct of_device_id pmc_match[] __initconst = {
  * dfll_soc/dfll_ref apparently must be kept enabled, otherwise I2C5
  * breaks
  */
-static __initdata struct tegra_clk_init_table init_table[] = {
+static struct tegra_clk_init_table init_table[] __initdata = {
 	{uarta, pll_p, 408000000, 0},
 	{uartb, pll_p, 408000000, 0},
 	{uartc, pll_p, 408000000, 0},