Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
5e20b2e5
Commit
5e20b2e5
authored
Feb 06, 2013
by
Zhang Rui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Thermal: fix a build warning when CONFIG_THERMAL_EMULATION cleared
Signed-off-by:
Zhang Rui
<
rui.zhang@intel.com
>
parent
475f41c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
drivers/thermal/thermal_sys.c
drivers/thermal/thermal_sys.c
+4
-1
No files found.
drivers/thermal/thermal_sys.c
View file @
5e20b2e5
...
...
@@ -381,9 +381,12 @@ static void handle_thermal_trip(struct thermal_zone_device *tz, int trip)
static
int
thermal_zone_get_temp
(
struct
thermal_zone_device
*
tz
,
unsigned
long
*
temp
)
{
int
ret
=
0
,
count
;
int
ret
=
0
;
#ifdef CONFIG_THERMAL_EMULATION
int
count
;
unsigned
long
crit_temp
=
-
1UL
;
enum
thermal_trip_type
type
;
#endif
mutex_lock
(
&
tz
->
lock
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment