Browse Source

[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 năm trước cách đây
mục cha
commit
7a05b591a3
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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",
 		.compatible = "qcn",
 	},
+	{
+		.name = "console",
+		.compatible = "SUNW,sun4v-console",
+	},
 	{},
 };
 MODULE_DEVICE_TABLE(of, hv_match);