ath11k: Add drv private for bus opaque struct
Add drv private opaque structure to have bus level structure for multibus support. Signed-off-by: Govind Singh <govinds@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200506094400.4740-3-govinds@codeaurora.org
This commit is contained in:
@@ -932,7 +932,7 @@ static int ath11k_ahb_probe(struct platform_device *pdev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
ab = ath11k_core_alloc(&pdev->dev);
|
||||
ab = ath11k_core_alloc(&pdev->dev, 0, ATH11K_BUS_AHB);
|
||||
if (!ab) {
|
||||
dev_err(&pdev->dev, "failed to allocate ath11k base\n");
|
||||
return -ENOMEM;
|
||||
|
Reference in New Issue
Block a user