Modify to support Phytium FT2000/4 CPU for acpi
Signed-off-by: Wang Honghui <[email protected]>
---
drivers/hwmon/scpi-hwmon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/scpi-hwmon.c b/drivers/hwmon/scpi-hwmon.c
index 6021ae00b334..a6ee9806e47e 100644
--- a/drivers/hwmon/scpi-hwmon.c
+++ b/drivers/hwmon/scpi-hwmon.c
@@ -316,6 +316,7 @@ static struct platform_driver scpi_hwmon_platdrv = {
.driver = {
.name = "scpi-hwmon",
.of_match_table = scpi_of_match,
+ .acpi_match_table = scpi_sensors_acpi_match,
},
.probe = scpi_hwmon_probe,
};
--
2.34.1
On 11/23/22 19:26, Wang Honghui wrote:
> Modify to support Phytium FT2000/4 CPU for acpi
>
> Signed-off-by: Wang Honghui <[email protected]>
> ---
> drivers/hwmon/scpi-hwmon.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hwmon/scpi-hwmon.c b/drivers/hwmon/scpi-hwmon.c
> index 6021ae00b334..a6ee9806e47e 100644
> --- a/drivers/hwmon/scpi-hwmon.c
> +++ b/drivers/hwmon/scpi-hwmon.c
> @@ -316,6 +316,7 @@ static struct platform_driver scpi_hwmon_platdrv = {
> .driver = {
> .name = "scpi-hwmon",
> .of_match_table = scpi_of_match,
> + .acpi_match_table = scpi_sensors_acpi_match,
> },
> .probe = scpi_hwmon_probe,
> };
This patch on its own doesn't make sense. It seems to be a fix of v1, not
a new version of v1. Your subject lines are off. Modify what ?
The subject should be something like "hwmon: (scpi) Add ACPI support for...".
Guenter