Skip to contentSkip to conversation

Remove __devinitdata from tc6393xb_mmc_resources

PATCH In review Marek Vasut 3 participants 3 messages Oct 10, 2010 – Oct 19, 2010 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove __devinitdata from tc6393xb_mmc_resources

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.

---
 drivers/mfd/tc6393xb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/tc6393xb.c +1 -1
index ef6c42c..1ea80d8 100644
@@ -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,
Signature · 1 line
1.7.1
Acked-by on v1 1/1
#1 lore raw
Signature · 3 lines
Ian Molton
Linux, Automotive, and other hacking:
http://www.mnementh.co.uk/
Quoted 27 lines · 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.

---
 drivers/mfd/tc6393xb.c |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/tc6393xb.c +1 -2
index ef6c42c..1ea80d8 100644
@@ -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

#2 lore raw
In reply to Marek Vasut

Hi Marek,

Quoted 4 lines · 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.

Patch applied, thanks.

Cheers,
Samuel.

Quoted 21 lines
---
 drivers/mfd/tc6393xb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/tc6393xb.c +1 -1
index ef6c42c..1ea80d8 100644
@@ -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,
Signature · 1 line
1.7.1
Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/