]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
spi: stm32: fix compatible to fit with new bindings
authorAmelie Delaunay <amelie.delaunay@st.com>
Tue, 27 Jun 2017 15:45:14 +0000 (17:45 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 28 Jun 2017 19:00:48 +0000 (20:00 +0100)
This patch updates of_device_id compatible string to fit with new
bindings.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32.c

index 305ecd5334fce9a1c95602c66d18453f92475abf..1eb07bef043e8fa18a21aee489a3b37feffb939d 100644 (file)
@@ -1038,7 +1038,7 @@ static int stm32_spi_config(struct stm32_spi *spi)
 }
 
 static const struct of_device_id stm32_spi_of_match[] = {
-       { .compatible = "st,stm32-spi", },
+       { .compatible = "st,stm32h7-spi", },
        {},
 };
 MODULE_DEVICE_TABLE(of, stm32_spi_of_match);