From fd53588ce7be8a7a853e5267eb3cb167b04d9f5d Mon Sep 17 00:00:00 2001 From: Nikita Shubin Date: Tue, 2 May 2023 12:29:05 +0300 Subject: [PATCH] fixup! spi: ep93xx: add DT support for Cirrus EP93xx --- drivers/spi/spi-ep93xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c index 9d99e4ddb29b4..bd8049fe9c91c 100644 --- a/drivers/spi/spi-ep93xx.c +++ b/drivers/spi/spi-ep93xx.c @@ -652,7 +652,7 @@ static struct ep93xx_spi_info *ep93xx_spi_get_platdata(struct platform_device *p { struct device_node *np = pdev->dev.of_node; - if (np && of_property_read_bool(np, "use_dma")) + if (np && of_property_read_bool(np, "ep9301,use-dma")) dt_spi_info.use_dma = 1; return &dt_spi_info; @@ -777,7 +777,7 @@ static void ep93xx_spi_remove(struct platform_device *pdev) static const struct of_device_id ep93xx_spi_of_ids[] = { { .compatible = "cirrus,ep9301-spi" }, - {}, + { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, ep93xx_spi_of_ids); -- 2.30.2