mfd: Remove __devinitdata from tc6393xb_mmc_resources
authorMarek Vasut <marek.vasut@gmail.com>
Sun, 10 Oct 2010 01:55:43 +0000 (03:55 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 28 Oct 2010 22:30:27 +0000 (00:30 +0200)
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>
drivers/mfd/tc6393xb.c

index ef6c42c..1ea80d8 100644 (file)
@@ -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,
        {
                .start  = 0x800,
                .end    = 0x9ff,