Remove __devinitdata from tc6393xb_mmc_resources
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.
Signed-off-by Marek Vasut <[email protected]>
--- drivers/mfd/tc6393xb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/tc6393xb.c +1 -1
@@ -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 Ian Molton <[email protected]>
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.
Signed-off-by Marek Vasut <[email protected]>---
drivers/mfd/tc6393xb.c | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)drivers/mfd/tc6393xb.c +1
-2@@ -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
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
Signed-off-by Marek Vasut <[email protected]>--- drivers/mfd/tc6393xb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/mfd/tc6393xb.c +1
-1@@ -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/