projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
module_param: make bool parameters really bool (drivers & misc)
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hwmon
/
w83627hf.c
diff --git
a/drivers/hwmon/w83627hf.c
b/drivers/hwmon/w83627hf.c
index bde50e34d01322144639695d0608ec14144ed84f..374118f2b9f94b73fc47bf0ec5d2f83e86bbc697 100644
(file)
--- a/
drivers/hwmon/w83627hf.c
+++ b/
drivers/hwmon/w83627hf.c
@@
-71,7
+71,7
@@
module_param(force_i2c, byte, 0);
MODULE_PARM_DESC(force_i2c,
"Initialize the i2c address of the sensors");
-static
int
init = 1;
+static
bool
init = 1;
module_param(init, bool, 0);
MODULE_PARM_DESC(init, "Set to zero to bypass chip initialization");