git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging/wlan-ng: Fix 'Branch condition evaluates to a garbage value' in p80211netdev.c
[pandora-kernel.git]
/
drivers
/
hwmon
/
gpio-fan.c
diff --git
a/drivers/hwmon/gpio-fan.c
b/drivers/hwmon/gpio-fan.c
index
9ba38f3
..
05c4f47
100644
(file)
--- a/
drivers/hwmon/gpio-fan.c
+++ b/
drivers/hwmon/gpio-fan.c
@@
-195,7
+195,7
@@
static int get_fan_speed_index(struct gpio_fan_data *fan_data)
return -EINVAL;
}
-static int rpm_to_speed_index(struct gpio_fan_data *fan_data,
int
rpm)
+static int rpm_to_speed_index(struct gpio_fan_data *fan_data,
unsigned long
rpm)
{
struct gpio_fan_speed *speed = fan_data->speed;
int i;