[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1302197583-31771-1-git-send-email-iws@ovro.caltech.edu>
Date: Thu, 7 Apr 2011 10:33:03 -0700
From: "Ira W. Snyder" <iws@...o.caltech.edu>
To: linux-kernel@...r.kernel.org
Cc: "Ira W. Snyder" <iws@...o.caltech.edu>,
Grant Likely <grant.likely@...retlab.ca>,
Dan Williams <dan.j.williams@...el.com>
Subject: [PATCH] fsldma: fix build warning caused by of_platform_device changes
Commit 000061245a6797d542854106463b6b20fbdcb12e forgot to convert the
type of structure passed into platform_device_register() when it was
converted from of_platform_device_register. Fix it.
Signed-off-by: Ira W. Snyder <iws@...o.caltech.edu>
Cc: Grant Likely <grant.likely@...retlab.ca>
Cc: Dan Williams <dan.j.williams@...el.com>
---
drivers/dma/fsldma.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c
index 6b39675..8a78154 100644
--- a/drivers/dma/fsldma.c
+++ b/drivers/dma/fsldma.c
@@ -1448,7 +1448,7 @@ static const struct of_device_id fsldma_of_ids[] = {
{}
};
-static struct of_platform_driver fsldma_of_driver = {
+static struct platform_driver fsldma_of_driver = {
.driver = {
.name = "fsl-elo-dma",
.owner = THIS_MODULE,
--
1.7.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists