Skip to content

Commit

Permalink
mfd: Remove __devinitdata from tc6393xb_mmc_resources
Browse files Browse the repository at this point in the history
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>
Acked-by: Ian Molton <ian@mnementh.co.uk>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Marek Vasut authored and Samuel Ortiz committed Oct 28, 2010
1 parent 2aa13b9 commit 7745cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/tc6393xb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7745cc8

Please sign in to comment.