Skip to content

Commit

Permalink
dt/fsldma: fix build warning caused by of_platform_device changes
Browse files Browse the repository at this point in the history
Commit 0000612, "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>
  • Loading branch information
Ira W. Snyder authored and Grant Likely committed Apr 11, 2011
1 parent 850a28e commit 8faa7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/fsldma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8faa7cf

Please sign in to comment.