projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c9ed89
)
hwmon: (asus_atk0110) Fix compiler warning
author
Luca Tettamanti
<kronos.it@gmail.com>
Fri, 8 May 2009 18:27:28 +0000
(20:27 +0200)
committer
Jean Delvare
<khali@linux-fr.org>
Fri, 8 May 2009 18:27:28 +0000
(20:27 +0200)
atk_sensor_type is only used when DEBUG is defined.
Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/asus_atk0110.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/asus_atk0110.c
b/drivers/hwmon/asus_atk0110.c
index 0897edef2574514701e23710cb0592e3af1c8c92..bff0103610c17ada5bf070cb49a5f95871967678 100644
(file)
--- a/
drivers/hwmon/asus_atk0110.c
+++ b/
drivers/hwmon/asus_atk0110.c
@@
-348,6
+348,7
@@
static int validate_hwmon_pack(struct atk_data *data, union acpi_object *obj)
return 0;
}
+#ifdef DEBUG
static char const *atk_sensor_type(union acpi_object *flags)
{
u64 type = flags->integer.value & ATK_TYPE_MASK;
@@
-370,6
+371,7
@@
static char const *atk_sensor_type(union acpi_object *flags)
return what;
}
+#endif
static void atk_print_sensor(struct atk_data *data, union acpi_object *obj)
{