mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-23 04:42:47 +00:00
25 lines
780 B
Diff
25 lines
780 B
Diff
From 547e4d17296f6f927389cb6baa84ea67a43e738d Mon Sep 17 00:00:00 2001
|
|
From: Alexey Sheplyakov <asheplyakov@altlinux.org>
|
|
Date: Thu, 3 Dec 2020 19:24:00 +0400
|
|
Subject: [PATCH 608/634] hwmon: bt1-pvt: added compatible baikal,pvt
|
|
|
|
So the driver will be loaded on existing Baikal-M based boards.
|
|
---
|
|
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 e2237774c..a32ef9f93 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.33.2
|
|
|