Skip to content

Commit

Permalink
spi: stm32: fix compatible to fit with new bindings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Amelie Delaunay authored and Mark Brown committed Jun 28, 2017
1 parent 567300d commit c5fe2fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi-stm32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c5fe2fa

Please sign in to comment.