projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3130a73
)
hwmon:sfctemp: add starfive,jh7110-temp bindings.
author
samin
<samin.guo@starfivetech.com>
Thu, 12 May 2022 02:04:39 +0000
(10:04 +0800)
committer
samin
<samin.guo@starfivetech.com>
Thu, 19 May 2022 03:08:11 +0000
(11:08 +0800)
jh7110 and jh7100 use the same configuration.
Signed-off-by: samin <samin.guo@starfivetech.com>
drivers/hwmon/sfctemp.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/sfctemp.c
b/drivers/hwmon/sfctemp.c
index
d7af616
..
acbc4ba
100644
(file)
--- a/
drivers/hwmon/sfctemp.c
+++ b/
drivers/hwmon/sfctemp.c
@@
-331,6
+331,7
@@
static int sfctemp_probe(struct platform_device *pdev)
static const struct of_device_id sfctemp_of_match[] = {
{ .compatible = "starfive,jh7100-temp" },
+ { .compatible = "starfive,jh7110-temp" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, sfctemp_of_match);