Skip to content

Commit

Permalink
mailbox: change mailbox-mpfs compatible string
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Conor Dooley authored and Jassi Brar committed Jan 12, 2022
1 parent 7215a78 commit f10b1fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mailbox/mailbox-mpfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f10b1fc

Please sign in to comment.