Searched refs:new_pdev (Results 1 – 1 of 1) sorted by relevance
362 struct platform_device *new_pdev; in hidma_mgmt_of_populate_channels() local386 new_pdev = platform_device_register_full(&pdevinfo); in hidma_mgmt_of_populate_channels()387 if (IS_ERR(new_pdev)) { in hidma_mgmt_of_populate_channels()388 ret = PTR_ERR(new_pdev); in hidma_mgmt_of_populate_channels()391 new_pdev->dev.of_node = child; in hidma_mgmt_of_populate_channels()392 of_dma_configure(&new_pdev->dev, child, true); in hidma_mgmt_of_populate_channels()397 of_msi_configure(&new_pdev->dev, child); in hidma_mgmt_of_populate_channels()