From 48a2f30cfbd3ae079024d96c2c8b69253f51f5b3 Mon Sep 17 00:00:00 2001 From: "william.qiu" Date: Sat, 7 May 2022 18:58:55 +0800 Subject: [PATCH] dmaengine:pl080: remove warning message remove warning message Signed-off-by: william.qiu --- drivers/dma/amba-pl08x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index 8b48fef..733ae4c 100644 --- a/drivers/dma/amba-pl08x.c +++ b/drivers/dma/amba-pl08x.c @@ -2792,7 +2792,7 @@ static int pl08x_probe(struct amba_device *adev, const struct amba_id *id) /* Assign useful pointers to the driver state */ pl08x->adev = adev; #ifdef CONFIG_SOC_STARFIVE_JH7110 - vd = of_device_get_match_data(&adev->dev); + vd = (struct vendor_data *)of_device_get_match_data(&adev->dev); if(!vd) return -ENODEV; #endif -- 2.7.4