From: Marek Vasut Date: Sun, 10 Oct 2010 01:55:43 +0000 (+0200) Subject: mfd: Remove __devinitdata from tc6393xb_mmc_resources X-Git-Tag: v2.6.37-rc1~52^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=7745cc8c3b977203c1b7483c09d05b58c8e88728 mfd: 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 Acked-by: Ian Molton Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/tc6393xb.c b/drivers/mfd/tc6393xb.c index ef6c42c8917a..1ea80d8ad915 100644 --- a/drivers/mfd/tc6393xb.c +++ b/drivers/mfd/tc6393xb.c @@ -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,