mailbox: mailbox-test: fix the compatible string

Underscores are usually forbidden in the compatible strings. So lets
remove it before the first users of this is seen.

Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
This commit is contained in:
Sudeep Holla 2016-02-19 16:01:16 +00:00 committed by Jassi Brar
parent adf06ba9b3
commit c428013783
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ Optional properties
Example: Example:
mailbox_test { mailbox_test {
compatible = "mailbox_test"; compatible = "mailbox-test";
reg = <0x[shared_memory_address], [shared_memory_size]>; reg = <0x[shared_memory_address], [shared_memory_size]>;
mboxes = <&mailbox2 0 1>, <&mailbox0 2 1>; mboxes = <&mailbox2 0 1>, <&mailbox0 2 1>;
mbox-names = "tx", "rx"; mbox-names = "tx", "rx";

View File

@ -342,7 +342,7 @@ static int mbox_test_remove(struct platform_device *pdev)
} }
static const struct of_device_id mbox_test_match[] = { static const struct of_device_id mbox_test_match[] = {
{ .compatible = "mailbox_test" }, { .compatible = "mailbox-test" },
{}, {},
}; };