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 ef6c42c8917a9554e20817239210bec66fc1002f..1ea80d8ad915c4487ab42762204755d1b6ec983c 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,