Skip to content

Commit 9e6ec8c

Browse files
xueqin Luodlezcano
authored andcommitted
thermal: core: Remove duplicate struct declaration
The struct thermal_zone_device is already declared on line 32, so the duplicate declaration has been removed. Fixes: b1ae92d ("thermal: core: Make struct thermal_zone_device definition internal") Signed-off-by: xueqin Luo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent ee022e5 commit 9e6ec8c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/linux/thermal.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ struct thermal_trip {
8686
#define THERMAL_TRIP_PRIV_TO_INT(_val_) (uintptr_t)(_val_)
8787
#define THERMAL_INT_TO_TRIP_PRIV(_val_) (void *)(uintptr_t)(_val_)
8888

89-
struct thermal_zone_device;
90-
9189
struct cooling_spec {
9290
unsigned long upper; /* Highest cooling state */
9391
unsigned long lower; /* Lowest cooling state */

0 commit comments

Comments
 (0)