From: Ira W. Snyder Date: Thu, 7 Apr 2011 17:33:03 +0000 (-0700) Subject: dt/fsldma: fix build warning caused by of_platform_device changes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8faa7cf828bca1745a4ed599876567f5afc47544;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Grant Likely --- diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c index 6b396759e7f..8a781540590 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,