LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab.ca>
To: jwboyer@gmail.com, paulus@samba.org, linuxppc-dev@ozlabs.org,
	jacmet@gmail.com
Subject: [PATCH] [POWERPC] Fix incorrectly tagged __devinitdata structures
Date: Fri, 01 Feb 2008 14:51:41 -0700	[thread overview]
Message-ID: <20080201215059.18641.74367.stgit@trillian.secretlab.ca> (raw)

From: Grant Likely <grant.likely@secretlab.ca>

Fix compile errors in the xilinxfb, xsysace and uartlite drivers used
by the Xilinx Virtex platform

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---

Paul, Josh: this fixes a compile error in mainline.

 drivers/block/xsysace.c   |    2 +-
 drivers/serial/uartlite.c |    2 +-
 drivers/video/xilinxfb.c  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c
index 78ebfff..1110e1b 100644
--- a/drivers/block/xsysace.c
+++ b/drivers/block/xsysace.c
@@ -1202,7 +1202,7 @@ static int __devexit ace_of_remove(struct of_device *op)
 }
 
 /* Match table for of_platform binding */
-static struct of_device_id __devinit ace_of_match[] = {
+static struct of_device_id ace_of_match[] __devinitdata = {
 	{ .compatible = "xilinx,xsysace", },
 	{},
 };
diff --git a/drivers/serial/uartlite.c b/drivers/serial/uartlite.c
index 8094340..c54a5ad 100644
--- a/drivers/serial/uartlite.c
+++ b/drivers/serial/uartlite.c
@@ -618,7 +618,7 @@ static int __devexit ulite_of_remove(struct of_device *op)
 }
 
 /* Match table for of_platform binding */
-static struct of_device_id __devinit ulite_of_match[] = {
+static struct of_device_id ulite_of_match[] __devinitdata = {
 	{ .type = "serial", .compatible = "xilinx,uartlite", },
 	{},
 };
diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c
index e38d3b7..c92e99e 100644
--- a/drivers/video/xilinxfb.c
+++ b/drivers/video/xilinxfb.c
@@ -459,7 +459,7 @@ static int __devexit xilinxfb_of_remove(struct of_device *op)
 }
 
 /* Match table for of_platform binding */
-static struct of_device_id __devinit xilinxfb_of_match[] = {
+static struct of_device_id xilinxfb_of_match[] __devinitdata = {
 	{ .compatible = "xilinx,ml300-fb", },
 	{},
 };

                 reply	other threads:[~2008-02-01 21:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20080201215059.18641.74367.stgit@trillian.secretlab.ca \
    --to=grant.likely@secretlab.ca \
    --cc=jacmet@gmail.com \
    --cc=jwboyer@gmail.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.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