summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-stm32.c
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2017-06-27 17:45:14 +0200
committerMark Brown <broonie@kernel.org>2017-06-28 21:00:48 +0200
commitc5fe2faabad41737fa36cedc1c6e15cbc9ddff11 (patch)
treef81cb973dfb8012f23b0702529cc68bef4c860ec /drivers/spi/spi-stm32.c
parentspi: stm32: use SoC specific compatible (diff)
downloadlinux-c5fe2faabad41737fa36cedc1c6e15cbc9ddff11.tar.xz
linux-c5fe2faabad41737fa36cedc1c6e15cbc9ddff11.zip
spi: stm32: fix compatible to fit with new bindings
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>
Diffstat (limited to 'drivers/spi/spi-stm32.c')
-rw-r--r--drivers/spi/spi-stm32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-stm32.c b/drivers/spi/spi-stm32.c
index 305ecd5334fc..1eb07bef043e 100644
--- a/drivers/spi/spi-stm32.c
+++ b/drivers/spi/spi-stm32.c
@@ -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);