* [PATCH 2/4] ARM: shmobile: r8a7790: add missing __initdata
@ 2013-08-02 1:33 Kuninori Morimoto
2013-08-05 8:56 ` Simon Horman
2015-07-21 0:26 ` [PATCH 2/4] ARM: shmobile: r8a7790: Add Audio MIX support on DTSI Kuninori Morimoto
0 siblings, 2 replies; 3+ messages in thread
From: Kuninori Morimoto @ 2013-08-02 1:33 UTC (permalink / raw)
To: linux-sh
This patch adds missing __initdata to driver data/resource
which are used from platform_device_register_xxx()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
arch/arm/mach-shmobile/setup-r8a7790.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c
index 86cf507..ea2f00b 100644
--- a/arch/arm/mach-shmobile/setup-r8a7790.c
+++ b/arch/arm/mach-shmobile/setup-r8a7790.c
@@ -160,13 +160,13 @@ static struct resource thermal_resources[] __initdata = {
thermal_resources, \
ARRAY_SIZE(thermal_resources))
-static struct sh_timer_config cmt00_platform_data = {
+static struct sh_timer_config cmt00_platform_data __initdata = {
.name = "CMT00",
.timer_bit = 0,
.clockevent_rating = 80,
};
-static struct resource cmt00_resources[] = {
+static struct resource cmt00_resources[] __initdata = {
DEFINE_RES_MEM(0xffca0510, 0x0c),
DEFINE_RES_MEM(0xffca0500, 0x04),
DEFINE_RES_IRQ(gic_spi(142)), /* CMT0_0 */
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 2/4] ARM: shmobile: r8a7790: add missing __initdata
2013-08-02 1:33 [PATCH 2/4] ARM: shmobile: r8a7790: add missing __initdata Kuninori Morimoto
@ 2013-08-05 8:56 ` Simon Horman
2015-07-21 0:26 ` [PATCH 2/4] ARM: shmobile: r8a7790: Add Audio MIX support on DTSI Kuninori Morimoto
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2013-08-05 8:56 UTC (permalink / raw)
To: linux-sh
On Thu, Aug 01, 2013 at 06:33:48PM -0700, Kuninori Morimoto wrote:
> This patch adds missing __initdata to driver data/resource
> which are used from platform_device_register_xxx()
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thanks, I will queue this up for v3.12 in the cleanup3 branch.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/4] ARM: shmobile: r8a7790: Add Audio MIX support on DTSI
2013-08-02 1:33 [PATCH 2/4] ARM: shmobile: r8a7790: add missing __initdata Kuninori Morimoto
2013-08-05 8:56 ` Simon Horman
@ 2015-07-21 0:26 ` Kuninori Morimoto
1 sibling, 0 replies; 3+ messages in thread
From: Kuninori Morimoto @ 2015-07-21 0:26 UTC (permalink / raw)
To: linux-sh
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Keita Kobayashi <keita.kobayashi.ym@renesas.com>
---
arch/arm/boot/dts/r8a7790.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 6aa1d75..f1cdccc 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -1540,6 +1540,7 @@
<&mstp10_clks R8A7790_CLK_SCU_SRC3>, <&mstp10_clks R8A7790_CLK_SCU_SRC2>,
<&mstp10_clks R8A7790_CLK_SCU_SRC1>, <&mstp10_clks R8A7790_CLK_SCU_SRC0>,
<&mstp10_clks R8A7790_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7790_CLK_SCU_CTU1_MIX1>,
+ <&mstp10_clks R8A7790_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7790_CLK_SCU_CTU1_MIX1>,
<&mstp10_clks R8A7790_CLK_SCU_DVC0>, <&mstp10_clks R8A7790_CLK_SCU_DVC1>,
<&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>;
clock-names = "ssi-all",
@@ -1548,6 +1549,7 @@
"src.9", "src.8", "src.7", "src.6", "src.5",
"src.4", "src.3", "src.2", "src.1", "src.0",
"ctu.0", "ctu.1",
+ "mix.0", "mix.1",
"dvc.0", "dvc.1",
"clk_a", "clk_b", "clk_c", "clk_i";
@@ -1564,6 +1566,11 @@
};
};
+ rcar_sound,mix {
+ mix0: mix@0 { };
+ mix1: mix@1 { };
+ };
+
rcar_sound,ctu {
ctu00: ctu@0 { };
ctu01: ctu@1 { };
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-21 0:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-02 1:33 [PATCH 2/4] ARM: shmobile: r8a7790: add missing __initdata Kuninori Morimoto
2013-08-05 8:56 ` Simon Horman
2015-07-21 0:26 ` [PATCH 2/4] ARM: shmobile: r8a7790: Add Audio MIX support on DTSI Kuninori Morimoto
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).