mailbox: change mailbox-mpfs compatible string
authorConor Dooley <conor.dooley@microchip.com>
Fri, 17 Dec 2021 09:33:12 +0000 (09:33 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 10:05:05 +0000 (11:05 +0100)
[ Upstream commit f10b1fc0161cd99e54c5687fcc63368aa255e05e ]

The Polarfire SoC is currently using two different compatible string
prefixes. Fix this by changing "polarfire-soc-*" strings to "mpfs-*" in
its system controller in order to match the compatible string used in
the soc binding and device tree.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mailbox/mailbox-mpfs.c

index 0d6e2231a2c7573f7b6d2a95a66d3f71afcb7ef0..4e34854d12389825f4f926fa617914c70ecb534b 100644 (file)
@@ -232,7 +232,7 @@ static int mpfs_mbox_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id mpfs_mbox_of_match[] = {
-       {.compatible = "microchip,polarfire-soc-mailbox", },
+       {.compatible = "microchip,mpfs-mailbox", },
        {},
 };
 MODULE_DEVICE_TABLE(of, mpfs_mbox_of_match);