diff options
| author | xueqin Luo <luoxueqin@kylinos.cn> | 2025-02-06 16:14:36 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-10 14:44:35 +0200 |
| commit | 0a5f3815e13a4fc7a3883708b8417553f35a28f6 (patch) | |
| tree | ed4f4a825e50b024124c9d436a0a551ee24cdfd6 /include | |
| parent | 88e923d140fa77cad6d5d6ea44d6fa6b55c59d7b (diff) | |
| download | linux-0a5f3815e13a4fc7a3883708b8417553f35a28f6.tar.gz linux-0a5f3815e13a4fc7a3883708b8417553f35a28f6.tar.bz2 linux-0a5f3815e13a4fc7a3883708b8417553f35a28f6.zip | |
thermal: core: Remove duplicate struct declaration
[ Upstream commit 9e6ec8cf64e2973f0ec74f09023988cabd218426 ]
The struct thermal_zone_device is already declared on line 32, so the
duplicate declaration has been removed.
Fixes: b1ae92dcfa8e ("thermal: core: Make struct thermal_zone_device definition internal")
Signed-off-by: xueqin Luo <luoxueqin@kylinos.cn>
Link: https://lore.kernel.org/r/20250206081436.51785-1-luoxueqin@kylinos.cn
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/thermal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h index 69f9bedd0ee8..0b5ed6821080 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -86,8 +86,6 @@ struct thermal_trip { #define THERMAL_TRIP_PRIV_TO_INT(_val_) (uintptr_t)(_val_) #define THERMAL_INT_TO_TRIP_PRIV(_val_) (void *)(uintptr_t)(_val_) -struct thermal_zone_device; - struct cooling_spec { unsigned long upper; /* Highest cooling state */ unsigned long lower; /* Lowest cooling state */ |
