提交 8faa7cf8 编写于 作者: I Ira W. Snyder 提交者: Grant Likely

dt/fsldma: fix build warning caused by of_platform_device changes

Commit 00006124, "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: NIra W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 850a28ec
...@@ -1448,7 +1448,7 @@ static const struct of_device_id fsldma_of_ids[] = { ...@@ -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 = { .driver = {
.name = "fsl-elo-dma", .name = "fsl-elo-dma",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册