Thread (19 messages) flat view 19 messages, 3 authors, 2010-10-25
STALE5767d

[PATCH 14/14 RESEND] Remove __devinitdata from tc6393xb_mmc_resources

From: Marek Vasut <hidden>
Date: 2010-10-11 00:20:32
Subsystem: multifunction devices (mfd), the rest · Maintainers: Lee Jones, Linus Torvalds

This static struct resource tc6393xb_mmc_resources[] is used in resume function,
therefore the data can not be wiped.

Also, this causes a section mismatch.

Signed-off-by: Marek Vasut <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help