[devel] [PATCH 08/35] hwmon: bt1-pvt: added compatible baikal,pvt

asheplyakov на yandex.ru asheplyakov на yandex.ru
Пт Май 20 19:28:22 MSK 2022


From: Alexey Sheplyakov <asheplyakov на altlinux.org>

So the driver will be loaded on existing Baikal-M based boards.
X-feature-Baikal-M
---
 drivers/hwmon/bt1-pvt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwmon/bt1-pvt.c b/drivers/hwmon/bt1-pvt.c
index e2237774c0e9..a32ef9f9351c 100644
--- a/drivers/hwmon/bt1-pvt.c
+++ b/drivers/hwmon/bt1-pvt.c
@@ -1240,6 +1240,7 @@ static int pvt_probe(struct platform_device *pdev)
 
 static const struct of_device_id pvt_of_match[] = {
 	{ .compatible = "baikal,bt1-pvt" },
+	{ .compatible = "baikal,pvt" },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, pvt_of_match);
-- 
2.32.0



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