public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove __devinitdata from tc6393xb_mmc_resources
@ 2010-10-10  1:55 Marek Vasut
  2010-10-11 13:14 ` Ian Molton
  2010-10-19  9:48 ` Samuel Ortiz
  0 siblings, 2 replies; 3+ messages in thread
From: Marek Vasut @ 2010-10-10  1:55 UTC (permalink / raw)
  To: linux-kernel; +Cc: sameo, axel.lin, hartleys, ian, 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 <marek.vasut@gmail.com>
---
 drivers/mfd/tc6393xb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/tc6393xb.c b/drivers/mfd/tc6393xb.c
index ef6c42c..1ea80d8 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,
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-19  9:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-10  1:55 [PATCH] Remove __devinitdata from tc6393xb_mmc_resources Marek Vasut
2010-10-11 13:14 ` Ian Molton
2010-10-19  9:48 ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox