mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-23 18:42:55 +00:00
28 lines
795 B
Diff
28 lines
795 B
Diff
![]() |
From 7028d81bce581b1075c55b34f2596f16ae8686ce Mon Sep 17 00:00:00 2001
|
||
|
From: Alexey Sheplyakov <asheplyakov@altlinux.org>
|
||
|
Date: Thu, 3 Dec 2020 19:24:00 +0400
|
||
|
Subject: [PATCH 615/625] bt1-pvt: added compatible baikal,pvt
|
||
|
|
||
|
So the driver will be loaded on existing BE-M1000 based boards.
|
||
|
|
||
|
X-DONTUPSTREAM
|
||
|
---
|
||
|
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 38774ec33ee1..585614a384e1 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.31.1
|
||
|
|