[d-kernel] [PATCH 18/32] hwmon: bt1-pvt: added compatible baikal, pvt

Alexey Sheplyakov asheplyakov на basealt.ru
Ср Дек 14 16:19:05 MSK 2022


So the driver will be loaded on existing Baikal-M based boards.

Signed-off-by: Alexey Sheplyakov <asheplyakov на basealt.ru>
X-feature-Baikal-M
---
 drivers/hwmon/bt1-pvt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/hwmon/bt1-pvt.c b/drivers/hwmon/bt1-pvt.c
index 90f29521f1af..a5a17179f5a4 100644
--- a/drivers/hwmon/bt1-pvt.c
+++ b/drivers/hwmon/bt1-pvt.c
@@ -1217,6 +1217,8 @@ static int pvt_probe(struct platform_device *pdev)
 
 static const struct of_device_id pvt_of_match[] = {
 	{ .compatible = "baikal,bt1-pvt" },
+	{ .compatible = "baikal,pvt" },
+	{ .compatible = "baikal,bm1000-pvt"},
 	{ }
 };
 MODULE_DEVICE_TABLE(of, pvt_of_match);
-- 
2.33.5



Подробная информация о списке рассылки devel-kernel