[d-kernel] [PATCH 15/39] hwmon: bt1-pvt: added compatible baikal, pvt

Daniil Gnusarev gnusarevda на basealt.ru
Пн Окт 14 17:01:56 MSK 2024


From: Alexey Sheplyakov <asheplyakov на basealt.ru>

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 5fc3babb57a90..0299df1ac325f 100644
--- a/drivers/hwmon/bt1-pvt.c
+++ b/drivers/hwmon/bt1-pvt.c
@@ -1208,6 +1208,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.42.2



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