From: jbe@pengutronix.de (Juergen Beisert)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] S3C2440: SD-Card usage fails with attribute __initdata for the platformdata
Date: Fri, 16 Oct 2009 11:24:50 +0200 [thread overview]
Message-ID: <200910161124.51537.jbe@pengutronix.de> (raw)
In-Reply-To: <20091016054856.GB2261@trinity.fluff.org>
Author: Juergen Beisert <j.beisert@pengutronix.de>
Subject: Do not use __initdata for MMC's platform data
With __initdata for MMC's platform data the kernel fails at various locations
when using the MMC/SD cards
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
---
diff --git a/arch/arm/mach-s3c2440/mach-mini2440.c b/arch/arm/mach-s3c2440/mach-mini2440.c
index ec71a69..f307666 100644
--- a/arch/arm/mach-s3c2440/mach-mini2440.c
+++ b/arch/arm/mach-s3c2440/mach-mini2440.c
@@ -233,7 +233,7 @@ struct s3c2410fb_mach_info mini2440_fb_info __initdata = {
/* MMC/SD */
-static struct s3c24xx_mci_pdata mini2440_mmc_cfg __initdata = {
+static struct s3c24xx_mci_pdata mini2440_mmc_cfg = {
.gpio_detect = S3C2410_GPG(8),
.gpio_wprotect = S3C2410_GPH(8),
.set_power = NULL,
prev parent reply other threads:[~2009-10-16 9:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-15 18:14 S3C2440: SD-Card access fails Juergen Beisert
2009-10-16 5:48 ` Ben Dooks
2009-10-16 7:41 ` Juergen Beisert
2009-10-16 9:24 ` Juergen Beisert [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200910161124.51537.jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).