aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-stm32.c
diff options
context:
space:
mode:
authorAmelie Delaunay <[email protected]>2017-06-27 15:45:14 +0000
committerMark Brown <[email protected]>2017-06-28 19:00:48 +0000
commitc5fe2faabad41737fa36cedc1c6e15cbc9ddff11 (patch)
treef81cb973dfb8012f23b0702529cc68bef4c860ec /drivers/spi/spi-stm32.c
parentspi: stm32: use SoC specific compatible (diff)
downloadkernel-c5fe2faabad41737fa36cedc1c6e15cbc9ddff11.tar.gz
kernel-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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
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);