提交 c5fe2faa 编写于 作者: A Amelie Delaunay 提交者: Mark Brown

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: NAmelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 567300d1
...@@ -1038,7 +1038,7 @@ static int stm32_spi_config(struct stm32_spi *spi) ...@@ -1038,7 +1038,7 @@ static int stm32_spi_config(struct stm32_spi *spi)
} }
static const struct of_device_id stm32_spi_of_match[] = { 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); MODULE_DEVICE_TABLE(of, stm32_spi_of_match);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册