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>
This commit is contained in:
Amelie Delaunay 2017-06-27 17:45:14 +02:00 committed by Mark Brown
parent 567300d11e
commit c5fe2faaba

View 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);