diff options
author | Ira W. Snyder <iws@ovro.caltech.edu> | 2011-04-07 19:33:03 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-04-11 08:34:38 +0200 |
commit | 8faa7cf828bca1745a4ed599876567f5afc47544 (patch) | |
tree | 68044fdb97c9551a6a647cfa30943940f287c385 /drivers/dma/fsldma.c | |
parent | spi: Fix race condition in stop_queue() (diff) | |
download | linux-8faa7cf828bca1745a4ed599876567f5afc47544.tar.xz linux-8faa7cf828bca1745a4ed599876567f5afc47544.zip |
dt/fsldma: fix build warning caused by of_platform_device changes
Commit 000061245a6797d542854106463b6b20fbdcb12e, "dt/powerpc:
Eliminate users of of_platform_{,un}register_driver" 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@ovro.caltech.edu>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to '')
-rw-r--r-- | 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 6b396759e7f5..8a781540590c 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, |