浏览代码

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>
Sudeep Holla 9 年之前
父节点
当前提交
c428013783
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Documentation/devicetree/bindings/mailbox/sti-mailbox.txt
  2. 1 1
      drivers/mailbox/mailbox-test.c

+ 1 - 1
Documentation/devicetree/bindings/mailbox/sti-mailbox.txt

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

+ 1 - 1
drivers/mailbox/mailbox-test.c

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