浏览代码

[SERIAL] SUNHV: Add an ID string.

The 'compatible' property can be SUNW,sun4v-console as
well as 'qcn'.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 18 年之前
父节点
当前提交
7a05b591a3
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      drivers/serial/sunhv.c

+ 4 - 0
drivers/serial/sunhv.c

@@ -493,6 +493,10 @@ static struct of_device_id hv_match[] = {
 		.name = "console",
 		.name = "console",
 		.compatible = "qcn",
 		.compatible = "qcn",
 	},
 	},
+	{
+		.name = "console",
+		.compatible = "SUNW,sun4v-console",
+	},
 	{},
 	{},
 };
 };
 MODULE_DEVICE_TABLE(of, hv_match);
 MODULE_DEVICE_TABLE(of, hv_match);