linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] clk: tegra114: Fix incorrect placement of __initdata
@ 2013-08-08  4:25 Sachin Kamat
  2013-08-08  4:25 ` [PATCH 2/3] clk: tegra20: " Sachin Kamat
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sachin Kamat @ 2013-08-08  4:25 UTC (permalink / raw)
  To: linux-arm-kernel

__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(-)

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},
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-08-09  5:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-08  4:25 [PATCH 1/3] clk: tegra114: Fix incorrect placement of __initdata Sachin Kamat
2013-08-08  4:25 ` [PATCH 2/3] clk: tegra20: " Sachin Kamat
2013-08-08  4:25 ` [PATCH 3/3] clk: tegra30: " Sachin Kamat
2013-08-08 18:16 ` [PATCH 1/3] clk: tegra114: " Stephen Warren
2013-08-08 22:32   ` Mike Turquette
2013-08-09  5:32   ` Sachin Kamat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).