* [PATCH] Remove __devinitdata from tc6393xb_mmc_resources
@ 2010-10-10 1:55 Marek Vasut
2010-10-11 13:14 ` Ian Molton
2010-10-19 9:48 ` Samuel Ortiz
0 siblings, 2 replies; 3+ messages in thread
From: Marek Vasut @ 2010-10-10 1:55 UTC (permalink / raw)
To: linux-kernel; +Cc: sameo, axel.lin, hartleys, ian, Marek Vasut
This static struct resource tc6393xb_mmc_resources[] is used in resume function,
therefore the data can not be wiped after init.
Also, this causes a section mismatch.
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
---
drivers/mfd/tc6393xb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/tc6393xb.c b/drivers/mfd/tc6393xb.c
index ef6c42c..1ea80d8 100644
--- a/drivers/mfd/tc6393xb.c
+++ b/drivers/mfd/tc6393xb.c
@@ -155,7 +155,7 @@ static struct resource __devinitdata tc6393xb_nand_resources[] = {
},
};
-static struct resource __devinitdata tc6393xb_mmc_resources[] = {
+static struct resource tc6393xb_mmc_resources[] = {
{
.start = 0x800,
.end = 0x9ff,
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Remove __devinitdata from tc6393xb_mmc_resources
2010-10-10 1:55 [PATCH] Remove __devinitdata from tc6393xb_mmc_resources Marek Vasut
@ 2010-10-11 13:14 ` Ian Molton
2010-10-19 9:48 ` Samuel Ortiz
1 sibling, 0 replies; 3+ messages in thread
From: Ian Molton @ 2010-10-11 13:14 UTC (permalink / raw)
To: Marek Vasut; +Cc: linux-kernel, sameo, axel.lin, hartleys
Acked-by: Ian Molton <ian@mnementh.co.uk>
--
Ian Molton
Linux, Automotive, and other hacking:
http://www.mnementh.co.uk/
On 10 October 2010 02:55, Marek Vasut <marek.vasut@gmail.com> wrote:
> This static struct resource tc6393xb_mmc_resources[] is used in resume function,
> therefore the data can not be wiped after init.
>
> Also, this causes a section mismatch.
>
> Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
> ---
> drivers/mfd/tc6393xb.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mfd/tc6393xb.c b/drivers/mfd/tc6393xb.c
> index ef6c42c..1ea80d8 100644
> --- a/drivers/mfd/tc6393xb.c
> +++ b/drivers/mfd/tc6393xb.c
> @@ -155,7 +155,7 @@ static struct resource __devinitdata tc6393xb_nand_resources[] = {
> },
> };
>
> -static struct resource __devinitdata tc6393xb_mmc_resources[] = {
> +static struct resource tc6393xb_mmc_resources[] = {
> {
> .start = 0x800,
> .end = 0x9ff,
> --
> 1.7.1
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Remove __devinitdata from tc6393xb_mmc_resources
2010-10-10 1:55 [PATCH] Remove __devinitdata from tc6393xb_mmc_resources Marek Vasut
2010-10-11 13:14 ` Ian Molton
@ 2010-10-19 9:48 ` Samuel Ortiz
1 sibling, 0 replies; 3+ messages in thread
From: Samuel Ortiz @ 2010-10-19 9:48 UTC (permalink / raw)
To: Marek Vasut; +Cc: linux-kernel, axel.lin, hartleys, ian
Hi Marek,
On Sun, Oct 10, 2010 at 03:55:43AM +0200, Marek Vasut wrote:
> This static struct resource tc6393xb_mmc_resources[] is used in resume function,
> therefore the data can not be wiped after init.
>
> Also, this causes a section mismatch.
Patch applied, thanks.
Cheers,
Samuel.
> Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
> ---
> drivers/mfd/tc6393xb.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mfd/tc6393xb.c b/drivers/mfd/tc6393xb.c
> index ef6c42c..1ea80d8 100644
> --- a/drivers/mfd/tc6393xb.c
> +++ b/drivers/mfd/tc6393xb.c
> @@ -155,7 +155,7 @@ static struct resource __devinitdata tc6393xb_nand_resources[] = {
> },
> };
>
> -static struct resource __devinitdata tc6393xb_mmc_resources[] = {
> +static struct resource tc6393xb_mmc_resources[] = {
> {
> .start = 0x800,
> .end = 0x9ff,
> --
> 1.7.1
>
--
Intel Open Source Technology Centre
http://oss.intel.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-19 9:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-10 1:55 [PATCH] Remove __devinitdata from tc6393xb_mmc_resources Marek Vasut
2010-10-11 13:14 ` Ian Molton
2010-10-19 9:48 ` Samuel Ortiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox